class com.sun.tools.internal.xjc.Driver$OptionsEx extends com.sun.tools.internal.xjc.Options
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.internal.xjc.Driver$OptionsEx
super_class: com.sun.tools.internal.xjc.Options
{
protected com.sun.tools.internal.xjc.Driver$Mode mode;
descriptor: Lcom/sun/tools/internal/xjc/Driver$Mode;
flags: (0x0004) ACC_PROTECTED
public boolean noNS;
descriptor: Z
flags: (0x0001) ACC_PUBLIC
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.tools.internal.xjc.Driver$OptionsEx this
0: .line 475
aload 0 /* this */
invokespecial com.sun.tools.internal.xjc.Options.<init>:()V
1: .line 478
aload 0 /* this */
getstatic com.sun.tools.internal.xjc.Driver$Mode.CODE:Lcom/sun/tools/internal/xjc/Driver$Mode;
putfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
2: .line 481
aload 0 /* this */
iconst_0
putfield com.sun.tools.internal.xjc.Driver$OptionsEx.noNS:Z
3: .line 475
return
end local 0 // com.sun.tools.internal.xjc.Driver$OptionsEx this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/Driver$OptionsEx;
public int parseArgument(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=3
start local 0 // com.sun.tools.internal.xjc.Driver$OptionsEx this
start local 1 // java.lang.String[] args
start local 2 // int i
0: .line 486
aload 1 /* args */
iload 2 /* i */
aaload
ldc "-noNS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: .line 487
aload 0 /* this */
iconst_1
putfield com.sun.tools.internal.xjc.Driver$OptionsEx.noNS:Z
2: .line 488
iconst_1
ireturn
3: .line 490
StackMap locals:
StackMap stack:
aload 1 /* args */
iload 2 /* i */
aaload
ldc "-mode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
4: .line 491
iinc 2 /* i */ 1
5: .line 492
iload 2 /* i */
aload 1 /* args */
arraylength
if_icmpne 9
6: .line 493
new com.sun.tools.internal.xjc.BadCommandLineException
dup
7: .line 494
ldc "Driver.MissingModeOperand"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: .line 493
invokespecial com.sun.tools.internal.xjc.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
9: .line 496
StackMap locals:
StackMap stack:
aload 1 /* args */
iload 2 /* i */
aaload
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 3 /* mstr */
start local 3 // java.lang.String mstr
10: .line 498
invokestatic com.sun.tools.internal.xjc.Driver$Mode.values:()[Lcom/sun/tools/internal/xjc/Driver$Mode;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 16
StackMap locals: com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.String[] int java.lang.String top int int com.sun.tools.internal.xjc.Driver$Mode[]
StackMap stack:
11: aload 7
iload 5
aaload
astore 4 /* m */
start local 4 // com.sun.tools.internal.xjc.Driver$Mode m
12: .line 499
aload 4 /* m */
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.name:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 3 /* mstr */
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
aload 3 /* mstr */
invokevirtual java.lang.String.length:()I
iconst_2
if_icmple 15
13: .line 500
aload 0 /* this */
aload 4 /* m */
putfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
14: .line 501
iconst_2
ireturn
end local 4 // com.sun.tools.internal.xjc.Driver$Mode m
15: .line 498
StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 6
if_icmplt 11
17: .line 505
new com.sun.tools.internal.xjc.BadCommandLineException
dup
18: .line 506
ldc "Driver.UnrecognizedMode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1 /* args */
iload 2 /* i */
aaload
aastore
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
19: .line 505
invokespecial com.sun.tools.internal.xjc.BadCommandLineException.<init>:(Ljava/lang/String;)V
athrow
end local 3 // java.lang.String mstr
20: .line 508
StackMap locals: com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.String[] int
StackMap stack:
aload 1 /* args */
iload 2 /* i */
aaload
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: .line 509
aload 0 /* this */
iconst_0
invokestatic com.sun.tools.internal.xjc.Driver.usage:(Lcom/sun/tools/internal/xjc/Options;Z)V
22: .line 510
new com.sun.tools.internal.xjc.Driver$WeAreDone
dup
invokespecial com.sun.tools.internal.xjc.Driver$WeAreDone.<init>:()V
athrow
23: .line 512
StackMap locals:
StackMap stack:
aload 1 /* args */
iload 2 /* i */
aaload
ldc "-private"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: .line 513
aload 0 /* this */
iconst_1
invokestatic com.sun.tools.internal.xjc.Driver.usage:(Lcom/sun/tools/internal/xjc/Options;Z)V
25: .line 514
new com.sun.tools.internal.xjc.Driver$WeAreDone
dup
invokespecial com.sun.tools.internal.xjc.Driver$WeAreDone.<init>:()V
athrow
26: .line 517
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* args */
iload 2 /* i */
invokespecial com.sun.tools.internal.xjc.Options.parseArgument:([Ljava/lang/String;I)I
ireturn
end local 2 // int i
end local 1 // java.lang.String[] args
end local 0 // com.sun.tools.internal.xjc.Driver$OptionsEx this
LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/tools/internal/xjc/Driver$OptionsEx;
0 27 1 args [Ljava/lang/String;
0 27 2 i I
10 20 3 mstr Ljava/lang/String;
12 15 4 m Lcom/sun/tools/internal/xjc/Driver$Mode;
Exceptions:
throws com.sun.tools.internal.xjc.BadCommandLineException
MethodParameters:
Name Flags
args
i
}
SourceFile: "Driver.java"
NestHost: com.sun.tools.internal.xjc.Driver
InnerClasses:
private final Mode = com.sun.tools.internal.xjc.Driver$Mode of com.sun.tools.internal.xjc.Driver
OptionsEx = com.sun.tools.internal.xjc.Driver$OptionsEx of com.sun.tools.internal.xjc.Driver
private final WeAreDone = com.sun.tools.internal.xjc.Driver$WeAreDone of com.sun.tools.internal.xjc.Driver