public class com.sun.tools.internal.xjc.addon.at_generated.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.at_generated.PluginImpl
super_class: com.sun.tools.internal.xjc.Plugin
{
private com.sun.codemodel.internal.JClass annotation;
descriptor: Lcom/sun/codemodel/internal/JClass;
flags: (0x0002) ACC_PRIVATE
private java.lang.String date;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.internal.xjc.Plugin.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.date:Ljava/lang/String;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/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 "mark-generated"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/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 " -mark-generated : mark the generated code as @javax.annotation.Generated"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
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=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
ldc "javax.annotation.Generated"
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JClass;
putfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotation:Lcom/sun/codemodel/internal/JClass;
1: 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 4
StackMap locals: com.sun.tools.internal.xjc.addon.at_generated.PluginImpl com.sun.tools.internal.xjc.outline.Outline com.sun.tools.internal.xjc.Options org.xml.sax.ErrorHandler top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.ClassOutline
astore 4
start local 4 3: aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.augument:(Lcom/sun/tools/internal/xjc/outline/ClassOutline;)V
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getEnums:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals:
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.EnumOutline
astore 4
start local 4 7: aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.augument:(Lcom/sun/tools/internal/xjc/outline/EnumOutline;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
0 10 1 model Lcom/sun/tools/internal/xjc/outline/Outline;
0 10 2 opt Lcom/sun/tools/internal/xjc/Options;
0 10 3 errorHandler Lorg/xml/sax/ErrorHandler;
3 4 4 co Lcom/sun/tools/internal/xjc/outline/ClassOutline;
7 8 4 eo Lcom/sun/tools/internal/xjc/outline/EnumOutline;
MethodParameters:
Name Flags
model
opt
errorHandler
private void augument(com.sun.tools.internal.xjc.outline.EnumOutline);
descriptor: (Lcom/sun/tools/internal/xjc/outline/EnumOutline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.tools.internal.xjc.outline.EnumOutline.clazz:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotate:(Lcom/sun/codemodel/internal/JAnnotatable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
0 2 1 eo Lcom/sun/tools/internal/xjc/outline/EnumOutline;
MethodParameters:
Name Flags
eo
private void augument(com.sun.tools.internal.xjc.outline.ClassOutline);
descriptor: (Lcom/sun/tools/internal/xjc/outline/ClassOutline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.tools.internal.xjc.outline.ClassOutline.implClass:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotate:(Lcom/sun/codemodel/internal/JAnnotatable;)V
1: aload 1
getfield com.sun.tools.internal.xjc.outline.ClassOutline.implClass:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.methods:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.internal.xjc.addon.at_generated.PluginImpl com.sun.tools.internal.xjc.outline.ClassOutline top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JMethod
astore 2
start local 2 3: aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotate:(Lcom/sun/codemodel/internal/JAnnotatable;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
getfield com.sun.tools.internal.xjc.outline.ClassOutline.implClass:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.fields:()Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFieldVar
astore 2
start local 2 7: aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotate:(Lcom/sun/codemodel/internal/JAnnotatable;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
0 10 1 co Lcom/sun/tools/internal/xjc/outline/ClassOutline;
3 4 2 m Lcom/sun/codemodel/internal/JMethod;
7 8 2 f Lcom/sun/codemodel/internal/JFieldVar;
MethodParameters:
Name Flags
co
private void annotate(com.sun.codemodel.internal.JAnnotatable);
descriptor: (Lcom/sun/codemodel/internal/JAnnotatable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.annotation:Lcom/sun/codemodel/internal/JClass;
invokeinterface com.sun.codemodel.internal.JAnnotatable.annotate:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
1: ldc "value"
ldc Lcom/sun/tools/internal/xjc/Driver;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
2: ldc "date"
aload 0
invokevirtual com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.getISO8601Date:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
3: ldc "comments"
new java.lang.StringBuilder
dup
ldc "JAXB RI v"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.sun.tools.internal.xjc.Options.getBuildID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JAnnotationUse.param:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/codemodel/internal/JAnnotationUse;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
0 5 1 m Lcom/sun/codemodel/internal/JAnnotatable;
MethodParameters:
Name Flags
m
private java.lang.String getISO8601Date();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.date:Ljava/lang/String;
ifnonnull 5
1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 2: aload 1
new java.text.SimpleDateFormat
dup
ldc "yyyy-MM-dd'T'hh:mm:ssZ"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: aload 1
aload 1
invokevirtual java.lang.StringBuffer.length:()I
iconst_2
isub
bipush 58
invokevirtual java.lang.StringBuffer.insert:(IC)Ljava/lang/StringBuffer;
pop
4: aload 0
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
putfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.date:Ljava/lang/String;
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.addon.at_generated.PluginImpl.date:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/addon/at_generated/PluginImpl;
2 5 1 tstamp Ljava/lang/StringBuffer;
}
SourceFile: "PluginImpl.java"