public class com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn 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.sync.SynchronizedMethodAddOn
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/sync/SynchronizedMethodAddOn;
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 "Xsync-methods"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/sync/SynchronizedMethodAddOn;
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 " -Xsync-methods : generate accessor methods with the 'synchronized' keyword"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/addon/sync/SynchronizedMethodAddOn;
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/sync/SynchronizedMethodAddOn;
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=2, locals=6, 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 3
StackMap locals: com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn 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 0
aload 4
invokevirtual com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn.augument:(Lcom/sun/tools/internal/xjc/outline/ClassOutline;)V
end local 4 3: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/xjc/addon/sync/SynchronizedMethodAddOn;
0 5 1 model Lcom/sun/tools/internal/xjc/outline/Outline;
0 5 2 opt Lcom/sun/tools/internal/xjc/Options;
0 5 3 errorHandler Lorg/xml/sax/ErrorHandler;
2 3 4 co Lcom/sun/tools/internal/xjc/outline/ClassOutline;
MethodParameters:
Name Flags
model
opt
errorHandler
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 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 3
StackMap locals: com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn com.sun.tools.internal.xjc.outline.ClassOutline top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JMethod
astore 2
start local 2 2: aload 2
invokevirtual com.sun.codemodel.internal.JMethod.getMods:()Lcom/sun/codemodel/internal/JMods;
iconst_1
invokevirtual com.sun.codemodel.internal.JMods.setSynchronized:(Z)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/internal/xjc/addon/sync/SynchronizedMethodAddOn;
0 5 1 co Lcom/sun/tools/internal/xjc/outline/ClassOutline;
2 3 2 m Lcom/sun/codemodel/internal/JMethod;
MethodParameters:
Name Flags
co
}
SourceFile: "SynchronizedMethodAddOn.java"