public class com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn 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.locator.SourceLocationAddOn
super_class: com.sun.tools.internal.xjc.Plugin
{
private static final java.lang.String fieldName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "locator"
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/locator/SourceLocationAddOn;
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 "Xlocator"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/locator/SourceLocationAddOn;
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 " -Xlocator : enable source location support for generated code"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/locator/SourceLocationAddOn;
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/locator/SourceLocationAddOn;
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 12
StackMap locals: com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn 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.implClass:Lcom/sun/codemodel/internal/JDefinedClass;
astore 6
start local 6 3: aload 4
invokevirtual com.sun.tools.internal.xjc.outline.ClassOutline.getSuperClass:()Lcom/sun/tools/internal/xjc/outline/ClassOutline;
ifnonnull 12
4: aload 6
iconst_2
ldc Lorg/xml/sax/Locator;
ldc "locator"
invokevirtual com.sun.codemodel.internal.JDefinedClass.field:(ILjava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JFieldVar;
astore 7
start local 7 5: aload 7
ldc Lcom/sun/xml/internal/bind/annotation/XmlLocation;
invokevirtual com.sun.codemodel.internal.JVar.annotate:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
6: aload 7
ldc Ljavax/xml/bind/annotation/XmlTransient;
invokevirtual com.sun.codemodel.internal.JVar.annotate:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
7: aload 6
ldc Lcom/sun/xml/internal/bind/Locatable;
invokevirtual com.sun.codemodel.internal.JDefinedClass._implements:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JDefinedClass;
pop
8: aload 6
iconst_1
ldc Lorg/xml/sax/Locator;
ldc "sourceLocation"
invokevirtual com.sun.codemodel.internal.JDefinedClass.method:(ILjava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 7
invokevirtual com.sun.codemodel.internal.JBlock._return:(Lcom/sun/codemodel/internal/JExpression;)V
9: aload 6
iconst_1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc "setSourceLocation"
invokevirtual com.sun.codemodel.internal.JDefinedClass.method:(ILjava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
astore 8
start local 8 10: aload 8
ldc Lorg/xml/sax/Locator;
ldc "newLocator"
invokevirtual com.sun.codemodel.internal.JMethod.param:(Ljava/lang/Class;Ljava/lang/String;)Lcom/sun/codemodel/internal/JVar;
astore 9
start local 9 11: aload 8
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 7
aload 9
invokevirtual com.sun.codemodel.internal.JBlock.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JBlock;
pop
end local 9 end local 8 end local 7 end local 6 end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
13: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/internal/xjc/addon/locator/SourceLocationAddOn;
0 14 1 outline Lcom/sun/tools/internal/xjc/outline/Outline;
0 14 2 opt Lcom/sun/tools/internal/xjc/Options;
0 14 3 errorHandler Lorg/xml/sax/ErrorHandler;
2 12 4 ci Lcom/sun/tools/internal/xjc/outline/ClassOutline;
3 12 6 impl Lcom/sun/codemodel/internal/JDefinedClass;
5 12 7 $loc Lcom/sun/codemodel/internal/JVar;
10 12 8 setter Lcom/sun/codemodel/internal/JMethod;
11 12 9 $newLoc Lcom/sun/codemodel/internal/JVar;
MethodParameters:
Name Flags
outline
opt
errorHandler
}
SourceFile: "SourceLocationAddOn.java"