public class com.sun.codemodel.internal.JMods implements com.sun.codemodel.internal.JGenerable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.codemodel.internal.JMods
super_class: java.lang.Object
{
private static int VAR;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int FIELD;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int METHOD;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int CLASS;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int INTERFACE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int mods;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 8
putstatic com.sun.codemodel.internal.JMods.VAR:I
1: sipush 799
putstatic com.sun.codemodel.internal.JMods.FIELD:I
2: sipush 255
putstatic com.sun.codemodel.internal.JMods.METHOD:I
3: bipush 63
putstatic com.sun.codemodel.internal.JMods.CLASS:I
4: iconst_1
putstatic com.sun.codemodel.internal.JMods.INTERFACE:I
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield com.sun.codemodel.internal.JMods.mods:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JMods;
0 3 1 mods I
MethodParameters:
Name Flags
mods
public int getValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JMods;
private static void check(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iload 1
iconst_m1
ixor
iand
ifeq 5
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal modifiers for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
invokevirtual com.sun.codemodel.internal.JMods.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 mods I
0 6 1 legal I
0 6 2 what Ljava/lang/String;
MethodParameters:
Name Flags
mods
legal
what
static com.sun.codemodel.internal.JMods forVar(int);
descriptor: (I)Lcom/sun/codemodel/internal/JMods;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.codemodel.internal.JMods.VAR:I
ldc "variable"
invokestatic com.sun.codemodel.internal.JMods.check:(IILjava/lang/String;)V
1: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mods I
MethodParameters:
Name Flags
mods
static com.sun.codemodel.internal.JMods forField(int);
descriptor: (I)Lcom/sun/codemodel/internal/JMods;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.codemodel.internal.JMods.FIELD:I
ldc "field"
invokestatic com.sun.codemodel.internal.JMods.check:(IILjava/lang/String;)V
1: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mods I
MethodParameters:
Name Flags
mods
static com.sun.codemodel.internal.JMods forMethod(int);
descriptor: (I)Lcom/sun/codemodel/internal/JMods;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.codemodel.internal.JMods.METHOD:I
ldc "method"
invokestatic com.sun.codemodel.internal.JMods.check:(IILjava/lang/String;)V
1: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mods I
MethodParameters:
Name Flags
mods
static com.sun.codemodel.internal.JMods forClass(int);
descriptor: (I)Lcom/sun/codemodel/internal/JMods;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.codemodel.internal.JMods.CLASS:I
ldc "class"
invokestatic com.sun.codemodel.internal.JMods.check:(IILjava/lang/String;)V
1: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mods I
MethodParameters:
Name Flags
mods
static com.sun.codemodel.internal.JMods forInterface(int);
descriptor: (I)Lcom/sun/codemodel/internal/JMods;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic com.sun.codemodel.internal.JMods.INTERFACE:I
ldc "class"
invokestatic com.sun.codemodel.internal.JMods.check:(IILjava/lang/String;)V
1: new com.sun.codemodel.internal.JMods
dup
iload 0
invokespecial com.sun.codemodel.internal.JMods.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mods I
MethodParameters:
Name Flags
mods
public boolean isAbstract();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 32
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JMods;
public boolean isNative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 64
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JMods;
public boolean isSynchronized();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
sipush 128
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JMods;
public void setSynchronized(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
sipush 128
iload 1
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JMods;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
public void setPrivate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
1: aload 0
iconst_2
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
2: aload 0
iconst_4
iconst_1
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JMods;
public void setProtected();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
1: aload 0
iconst_2
iconst_1
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
2: aload 0
iconst_4
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JMods;
public void setPublic();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_1
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
1: aload 0
iconst_2
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
2: aload 0
iconst_4
iconst_0
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JMods;
public void setFinal(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
iload 1
invokevirtual com.sun.codemodel.internal.JMods.setFlag:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JMods;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
private void setFlag(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
iload 1
iconst_m1
ixor
iand
iload 2
ifeq 1
iload 1
goto 2
StackMap locals: com.sun.codemodel.internal.JMods int int
StackMap stack: com.sun.codemodel.internal.JMods int
1: iconst_0
StackMap locals: com.sun.codemodel.internal.JMods int int
StackMap stack: com.sun.codemodel.internal.JMods int int
2: ior
putfield com.sun.codemodel.internal.JMods.mods:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JMods;
0 4 1 bit I
0 4 2 newValue Z
MethodParameters:
Name Flags
bit
newValue
public void generate(com.sun.codemodel.internal.JFormatter);
descriptor: (Lcom/sun/codemodel/internal/JFormatter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
iconst_1
iand
ifeq 1
aload 1
ldc "public"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
iconst_2
iand
ifeq 2
aload 1
ldc "protected"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
iconst_4
iand
ifeq 3
aload 1
ldc "private"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 8
iand
ifeq 4
aload 1
ldc "final"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 16
iand
ifeq 5
aload 1
ldc "static"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 32
iand
ifeq 6
aload 1
ldc "abstract"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
bipush 64
iand
ifeq 7
aload 1
ldc "native"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
sipush 128
iand
ifeq 8
aload 1
ldc "synchronized"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
sipush 256
iand
ifeq 9
aload 1
ldc "transient"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JMods.mods:I
sipush 512
iand
ifeq 10
aload 1
ldc "volatile"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/codemodel/internal/JMods;
0 11 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: new com.sun.codemodel.internal.JFormatter
dup
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
invokespecial com.sun.codemodel.internal.JFormatter.<init>:(Ljava/io/PrintWriter;)V
astore 2
start local 2 2: aload 0
aload 2
invokevirtual com.sun.codemodel.internal.JMods.generate:(Lcom/sun/codemodel/internal/JFormatter;)V
3: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JMods;
1 4 1 s Ljava/io/StringWriter;
2 4 2 f Lcom/sun/codemodel/internal/JFormatter;
}
SourceFile: "JMods.java"