class org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.tool.hbm2ddl.SchemaUpdate$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;>;
java.lang.String propertiesFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String cfgXmlFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String outputFile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String delimiter;
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 // org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs this
0: .line 212
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 215
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.propertiesFile:Ljava/lang/String;
2: .line 216
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
3: .line 217
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.outputFile:Ljava/lang/String;
4: .line 218
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.delimiter:Ljava/lang/String;
5: .line 220
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
6: .line 221
aload 0 /* this */
aconst_null
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
7: .line 223
aload 0 /* this */
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.hbmXmlFiles:Ljava/util/List;
8: .line 224
aload 0 /* this */
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.jarFiles:Ljava/util/List;
9: .line 212
return
end local 0 // org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
public static org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs parseCommandLineArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=1
start local 0 // java.lang.String[] args
0: .line 227
new org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs
dup
invokespecial org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.<init>:()V
astore 1 /* parsedArgs */
start local 1 // org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs parsedArgs
1: .line 229
aconst_null
astore 2 /* targetText */
start local 2 // java.lang.String targetText
2: .line 230
iconst_1
istore 3 /* script */
start local 3 // boolean script
3: .line 231
iconst_1
istore 4 /* doUpdate */
start local 4 // boolean doUpdate
4: .line 233
aload 0 /* args */
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 42
StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs java.lang.String int int top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5 /* arg */
start local 5 // java.lang.String arg
6: .line 234
aload 5 /* arg */
ldc "--"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 37
7: .line 235
aload 5 /* arg */
ldc "--quiet"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: .line 236
iconst_0
istore 3 /* script */
9: .line 237
goto 41
10: .line 238
StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs java.lang.String int int java.lang.String int int java.lang.String[]
StackMap stack:
aload 5 /* arg */
ldc "--text"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
11: .line 239
iconst_0
istore 4 /* doUpdate */
12: .line 240
goto 41
13: .line 241
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--target="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
14: .line 242
aload 5 /* arg */
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2 /* targetText */
15: .line 243
goto 41
16: .line 244
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--properties="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
17: .line 245
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 13
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.propertiesFile:Ljava/lang/String;
18: .line 246
goto 41
19: .line 247
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--config="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
20: .line 248
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.cfgXmlFile:Ljava/lang/String;
21: .line 249
goto 41
22: .line 250
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--output="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 25
23: .line 251
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 9
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.outputFile:Ljava/lang/String;
24: .line 252
goto 41
25: .line 253
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
26: .line 254
getstatic org.hibernate.internal.log.DeprecationLogger.DEPRECATION_LOGGER:Lorg/hibernate/internal/log/DeprecationLogger;
invokeinterface org.hibernate.internal.log.DeprecationLogger.logDeprecatedNamingStrategyArgument:()V
27: .line 255
goto 41
28: .line 256
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--delimiter="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 31
29: .line 257
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 12
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.delimiter:Ljava/lang/String;
30: .line 258
goto 41
31: .line 259
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--implicit-naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 34
32: .line 260
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 18
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.implicitNamingStrategyImplName:Ljava/lang/String;
33: .line 261
goto 41
34: .line 262
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc "--physical-naming="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 41
35: .line 263
aload 1 /* parsedArgs */
aload 5 /* arg */
bipush 18
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.physicalNamingStrategyImplName:Ljava/lang/String;
36: .line 265
goto 41
37: .line 267
StackMap locals:
StackMap stack:
aload 5 /* arg */
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 40
38: .line 268
aload 1 /* parsedArgs */
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.jarFiles:Ljava/util/List;
aload 5 /* arg */
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: .line 269
goto 41
40: .line 271
StackMap locals:
StackMap stack:
aload 1 /* parsedArgs */
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.hbmXmlFiles:Ljava/util/List;
aload 5 /* arg */
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 // java.lang.String arg
41: .line 233
StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs java.lang.String int int top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
42: iload 6
iload 7
if_icmplt 5
43: .line 276
aload 2 /* targetText */
ifnonnull 46
44: .line 277
aload 1 /* parsedArgs */
iload 3 /* script */
iload 4 /* doUpdate */
aload 1 /* parsedArgs */
getfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.outputFile:Ljava/lang/String;
invokestatic org.hibernate.tool.hbm2ddl.TargetTypeHelper.parseLegacyCommandLineOptions:(ZZLjava/lang/String;)Ljava/util/EnumSet;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.targetTypes:Ljava/util/EnumSet;
45: .line 278
goto 49
46: .line 280
StackMap locals: java.lang.String[] org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs java.lang.String int int
StackMap stack:
iload 3 /* script */
ifeq 47
iload 4 /* doUpdate */
ifne 48
47: .line 281
StackMap locals:
StackMap stack:
getstatic org.hibernate.tool.hbm2ddl.SchemaUpdate.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
48: .line 283
StackMap locals:
StackMap stack:
aload 1 /* parsedArgs */
aload 2 /* targetText */
invokestatic org.hibernate.tool.hbm2ddl.TargetTypeHelper.parseCommandLineOptions:(Ljava/lang/String;)Ljava/util/EnumSet;
putfield org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs.targetTypes:Ljava/util/EnumSet;
49: .line 286
StackMap locals:
StackMap stack:
aload 1 /* parsedArgs */
areturn
end local 4 // boolean doUpdate
end local 3 // boolean script
end local 2 // java.lang.String targetText
end local 1 // org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs parsedArgs
end local 0 // java.lang.String[] args
LocalVariableTable:
Start End Slot Name Signature
0 50 0 args [Ljava/lang/String;
1 50 1 parsedArgs Lorg/hibernate/tool/hbm2ddl/SchemaUpdate$CommandLineArgs;
2 50 2 targetText Ljava/lang/String;
3 50 3 script Z
4 50 4 doUpdate Z
6 41 5 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
}
SourceFile: "SchemaUpdate.java"
NestHost: org.hibernate.tool.hbm2ddl.SchemaUpdate
InnerClasses:
private CommandLineArgs = org.hibernate.tool.hbm2ddl.SchemaUpdate$CommandLineArgs of org.hibernate.tool.hbm2ddl.SchemaUpdate