class org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs
super_class: java.lang.Object
{
java.util.EnumSet<org.hibernate.tool.schema.TargetType> targetTypes;
descriptor: Ljava/util/EnumSet;
flags: (0x0000)
Signature: Ljava/util/EnumSet<Lorg/hibernate/tool/schema/TargetType;>;
org.hibernate.tool.hbm2ddl.SchemaExport$Action action;
descriptor: Lorg/hibernate/tool/hbm2ddl/SchemaExport$Action;
flags: (0x0000)
boolean halt;
descriptor: Z
flags: (0x0000)
boolean format;
descriptor: Z
flags: (0x0000)
boolean manageNamespaces;
descriptor: Z
flags: (0x0000)
java.lang.String delimiter;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String outputFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String importFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String propertiesFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String cfgXmlFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String implicitNamingStrategyImplName;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String physicalNamingStrategyImplName;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.List<java.lang.String> hbmXmlFiles;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
java.util.List<java.lang.String> jarFiles;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.halt:Z
2: aload 0
iconst_0
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.format:Z
3: aload 0
iconst_0
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.manageNamespaces:Z
4: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.delimiter:Ljava/lang/String;
5: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.outputFile:Ljava/lang/String;
6: aload 0
ldc "/import.sql"
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.importFile:Ljava/lang/String;
7: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.propertiesFile:Ljava/lang/String;
8: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
9: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
10: aload 0
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
11: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.hbmXmlFiles:Ljava/util/List;
12: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.jarFiles:Ljava/util/List;
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/hibernate/tool/hbm2ddl/SchemaExport$CommandLineArgs;
public static org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs parseCommandLineArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaExport$CommandLineArgs;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=12, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iconst_1
istore 2
start local 2 2: iconst_1
istore 3
start local 3 3: aconst_null
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: new org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs
dup
invokespecial org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.<init>:()V
astore 7
start local 7 7: aload 0
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 66
StackMap locals: java.lang.String[] java.lang.String int int java.lang.String int int org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs top int int java.lang.String[]
StackMap stack:
8: aload 11
iload 9
aaload
astore 8
start local 8 9: aload 8
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 61
10: aload 8
ldc "--quiet"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: iconst_0
istore 2
12: goto 65
13: StackMap locals: java.lang.String[] java.lang.String int int java.lang.String int int org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs java.lang.String int int java.lang.String[]
StackMap stack:
aload 8
ldc "--text"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: iconst_0
istore 3
15: goto 65
16: StackMap locals:
StackMap stack:
aload 8
ldc "--drop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: iconst_1
istore 5
18: goto 65
19: StackMap locals:
StackMap stack:
aload 8
ldc "--create"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: iconst_1
istore 6
21: goto 65
22: StackMap locals:
StackMap stack:
aload 8
ldc "--action="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 25
23: aload 8
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
24: goto 65
25: StackMap locals:
StackMap stack:
aload 8
ldc "--target="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
26: aload 8
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
27: goto 65
28: StackMap locals:
StackMap stack:
aload 8
ldc "--schemas"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: aload 7
iconst_1
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.manageNamespaces:Z
30: goto 65
31: StackMap locals:
StackMap stack:
aload 8
ldc "--haltonerror"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
32: aload 7
iconst_1
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.halt:Z
33: goto 65
34: StackMap locals:
StackMap stack:
aload 8
ldc "--output="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 37
35: aload 7
aload 8
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.outputFile:Ljava/lang/String;
36: goto 65
37: StackMap locals:
StackMap stack:
aload 8
ldc "--import="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 40
38: aload 7
aload 8
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.importFile:Ljava/lang/String;
39: goto 65
40: StackMap locals:
StackMap stack:
aload 8
ldc "--properties="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 43
41: aload 7
aload 8
bipush 13
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.propertiesFile:Ljava/lang/String;
42: goto 65
43: StackMap locals:
StackMap stack:
aload 8
ldc "--format"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
44: aload 7
iconst_1
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.format:Z
45: goto 65
46: StackMap locals:
StackMap stack:
aload 8
ldc "--delimiter="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 49
47: aload 7
aload 8
bipush 12
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.delimiter:Ljava/lang/String;
48: goto 65
49: StackMap locals:
StackMap stack:
aload 8
ldc "--config="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 52
50: aload 7
aload 8
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
51: goto 65
52: StackMap locals:
StackMap stack:
aload 8
ldc "--naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 55
53: getstatic org.hibernate.internal.log.DeprecationLogger.DEPRECATION_LOGGER:Lorg/hibernate/internal/log/DeprecationLogger;
invokeinterface org.hibernate.internal.log.DeprecationLogger.logDeprecatedNamingStrategyArgument:()V
54: goto 65
55: StackMap locals:
StackMap stack:
aload 8
ldc "--implicit-naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 58
56: aload 7
aload 8
bipush 18
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
57: goto 65
58: StackMap locals:
StackMap stack:
aload 8
ldc "--physical-naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 65
59: aload 7
aload 8
bipush 18
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
60: goto 65
61: StackMap locals:
StackMap stack:
aload 8
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 64
62: aload 7
getfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.jarFiles:Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
63: goto 65
64: StackMap locals:
StackMap stack:
aload 7
getfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.hbmXmlFiles:Ljava/util/List;
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 65: StackMap locals: java.lang.String[] java.lang.String int int java.lang.String int int org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs top int int java.lang.String[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
66: iload 9
iload 10
if_icmplt 8
67: aload 4
ifnonnull 70
68: aload 7
iload 5
iload 6
invokestatic org.hibernate.tool.hbm2ddl.SchemaExport$Action.interpret:(ZZ)Lorg/hibernate/tool/hbm2ddl/SchemaExport$Action;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.action:Lorg/hibernate/tool/hbm2ddl/SchemaExport$Action;
69: goto 73
70: StackMap locals: java.lang.String[] java.lang.String int int java.lang.String int int org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs
StackMap stack:
iload 5
ifne 71
iload 6
ifeq 72
71: StackMap locals:
StackMap stack:
getstatic org.hibernate.tool.hbm2ddl.SchemaExport.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "--drop or --create was used; prefer --action=none|create|drop|drop-and-create instead"
invokeinterface org.hibernate.internal.CoreMessageLogger.warn:(Ljava/lang/Object;)V
72: StackMap locals:
StackMap stack:
aload 7
aload 4
invokestatic org.hibernate.tool.hbm2ddl.SchemaExport$Action.parseCommandLineOption:(Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaExport$Action;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.action:Lorg/hibernate/tool/hbm2ddl/SchemaExport$Action;
73: StackMap locals:
StackMap stack:
aload 1
ifnonnull 76
74: aload 7
iload 2
iload 3
aload 7
getfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.outputFile:Ljava/lang/String;
invokestatic org.hibernate.tool.hbm2ddl.TargetTypeHelper.parseLegacyCommandLineOptions:(ZZLjava/lang/String;)Ljava/util/EnumSet;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.targetTypes:Ljava/util/EnumSet;
75: goto 79
76: StackMap locals:
StackMap stack:
iload 2
ifeq 77
iload 3
ifne 78
77: StackMap locals:
StackMap stack:
getstatic org.hibernate.tool.hbm2ddl.SchemaExport.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "--text or --quiet was used; prefer --target=none|(stdout|database|script)*"
invokeinterface org.hibernate.internal.CoreMessageLogger.warn:(Ljava/lang/Object;)V
78: StackMap locals:
StackMap stack:
aload 7
aload 1
invokestatic org.hibernate.tool.hbm2ddl.TargetTypeHelper.parseCommandLineOptions:(Ljava/lang/String;)Ljava/util/EnumSet;
putfield org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs.targetTypes:Ljava/util/EnumSet;
79: StackMap locals:
StackMap stack:
aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 80 0 args [Ljava/lang/String;
1 80 1 targetText Ljava/lang/String;
2 80 2 script Z
3 80 3 export Z
4 80 4 actionText Ljava/lang/String;
5 80 5 drop Z
6 80 6 create Z
7 80 7 parsedArgs Lorg/hibernate/tool/hbm2ddl/SchemaExport$CommandLineArgs;
9 65 8 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
}
SourceFile: "SchemaExport.java"
NestHost: org.hibernate.tool.hbm2ddl.SchemaExport
InnerClasses:
public final Action = org.hibernate.tool.hbm2ddl.SchemaExport$Action of org.hibernate.tool.hbm2ddl.SchemaExport
private CommandLineArgs = org.hibernate.tool.hbm2ddl.SchemaExport$CommandLineArgs of org.hibernate.tool.hbm2ddl.SchemaExport