public class com.sun.tools.internal.xjc.addon.accessors.PluginImpl extends com.sun.tools.internal.xjc.Plugin
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.addon.accessors.PluginImpl
super_class: com.sun.tools.internal.xjc.Plugin
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.internal.xjc.Plugin.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
public java.lang.String getOptionName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Xpropertyaccessors"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
public java.lang.String getUsage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc " -Xpropertyaccessors : Use XmlAccessType PROPERTY instead of FIELD for generated classes"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
public int parseArgument(com.sun.tools.internal.xjc.Options, java.lang.String[], int);
descriptor: (Lcom/sun/tools/internal/xjc/Options;[Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
0 1 1 opt Lcom/sun/tools/internal/xjc/Options;
0 1 2 args [Ljava/lang/String;
0 1 3 i I
Exceptions:
throws com.sun.tools.internal.xjc.BadCommandLineException, java.io.IOException
MethodParameters:
Name Flags
opt
args
i
public boolean run(com.sun.tools.internal.xjc.outline.Outline, com.sun.tools.internal.xjc.Options, org.xml.sax.ErrorHandler);
descriptor: (Lcom/sun/tools/internal/xjc/outline/Outline;Lcom/sun/tools/internal/xjc/Options;Lorg/xml/sax/ErrorHandler;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getClasses:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals: com.sun.tools.internal.xjc.addon.accessors.PluginImpl com.sun.tools.internal.xjc.outline.Outline com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.ClassOutline
astore 4
start local 4 2: aload 4
getfield com.sun.tools.internal.xjc.outline.ClassOutline.ref:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.annotations:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
start local 6 3: goto 22
4: StackMap locals: com.sun.tools.internal.xjc.addon.accessors.PluginImpl com.sun.tools.internal.xjc.outline.Outline com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler com.sun.tools.internal.xjc.outline.ClassOutline java.util.Iterator java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JAnnotationUse
astore 7
start local 7 5: aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "clazz"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 8
start local 8 6: aload 8
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
7: aload 8
aload 7
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JClass
astore 9
start local 9 8: aload 9
aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
ldc Ljavax/xml/bind/annotation/XmlAccessorType;
invokevirtual com.sun.codemodel.internal.JCodeModel._ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JType;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 22
9: aload 7
ldc "value"
getstatic javax.xml.bind.annotation.XmlAccessType.PROPERTY:Ljavax/xml/bind/annotation/XmlAccessType;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/Enum;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
10: goto 23
end local 9 end local 8 end local 7 11: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 7
start local 7 12: ldc Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 7
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 13: goto 22
14: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 7
start local 7 15: ldc Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 7
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 16: goto 22
17: StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
astore 7
start local 7 18: ldc Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 7
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 19: goto 22
20: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 7
start local 7 21: ldc Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aconst_null
aload 7
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 22: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 6 end local 4 23: StackMap locals: com.sun.tools.internal.xjc.addon.accessors.PluginImpl com.sun.tools.internal.xjc.outline.Outline com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
24: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/tools/internal/xjc/addon/accessors/PluginImpl;
0 25 1 model Lcom/sun/tools/internal/xjc/outline/Outline;
0 25 2 opt Lcom/sun/tools/internal/xjc/Options;
0 25 3 errorHandler Lorg/xml/sax/ErrorHandler;
2 23 4 co Lcom/sun/tools/internal/xjc/outline/ClassOutline;
3 23 6 ann Ljava/util/Iterator<Lcom/sun/codemodel/internal/JAnnotationUse;>;
5 11 7 a Lcom/sun/codemodel/internal/JAnnotationUse;
6 11 8 clazzField Ljava/lang/reflect/Field;
8 11 9 cl Lcom/sun/codemodel/internal/JClass;
12 13 7 ex Ljava/lang/IllegalArgumentException;
15 16 7 ex Ljava/lang/IllegalAccessException;
18 19 7 ex Ljava/lang/NoSuchFieldException;
21 22 7 ex Ljava/lang/SecurityException;
Exception table:
from to target type
4 10 11 Class java.lang.IllegalArgumentException
4 10 14 Class java.lang.IllegalAccessException
4 10 17 Class java.lang.NoSuchFieldException
4 10 20 Class java.lang.SecurityException
MethodParameters:
Name Flags
model
opt
errorHandler
}
SourceFile: "PluginImpl.java"