public class com.sun.codemodel.internal.JFieldVar extends com.sun.codemodel.internal.JVar implements com.sun.codemodel.internal.JDocCommentable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.codemodel.internal.JFieldVar
super_class: com.sun.codemodel.internal.JVar
{
private com.sun.codemodel.internal.JDocComment ;
descriptor: Lcom/sun/codemodel/internal/JDocComment;
flags: (0x0002) ACC_PRIVATE
private final com.sun.codemodel.internal.JDefinedClass owner;
descriptor: Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(com.sun.codemodel.internal.JDefinedClass, com.sun.codemodel.internal.JMods, com.sun.codemodel.internal.JType, java.lang.String, com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/codemodel/internal/JMods;Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 2
aload 3
aload 4
aload 5
invokespecial com.sun.codemodel.internal.JVar.<init>:(Lcom/sun/codemodel/internal/JMods;Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)V
1: aload 0
aconst_null
putfield com.sun.codemodel.internal.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
2: aload 0
aload 1
putfield com.sun.codemodel.internal.JFieldVar.owner:Lcom/sun/codemodel/internal/JDefinedClass;
3: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JFieldVar;
0 4 1 owner Lcom/sun/codemodel/internal/JDefinedClass;
0 4 2 mods Lcom/sun/codemodel/internal/JMods;
0 4 3 type Lcom/sun/codemodel/internal/JType;
0 4 4 name Ljava/lang/String;
0 4 5 init Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
owner
mods
type
name
init
public void name(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JFieldVar.owner:Lcom/sun/codemodel/internal/JDefinedClass;
getfield com.sun.codemodel.internal.JDefinedClass.fields:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is already in use"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.codemodel.internal.JFieldVar.name:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 1
invokespecial com.sun.codemodel.internal.JVar.name:(Ljava/lang/String;)V
4: aload 0
getfield com.sun.codemodel.internal.JFieldVar.owner:Lcom/sun/codemodel/internal/JDefinedClass;
getfield com.sun.codemodel.internal.JDefinedClass.fields:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield com.sun.codemodel.internal.JFieldVar.owner:Lcom/sun/codemodel/internal/JDefinedClass;
getfield com.sun.codemodel.internal.JDefinedClass.fields:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/codemodel/internal/JFieldVar;
0 7 1 name Ljava/lang/String;
3 7 2 oldName Ljava/lang/String;
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JDocComment ();
descriptor: ()Lcom/sun/codemodel/internal/JDocComment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnonnull 2
1: aload 0
new com.sun.codemodel.internal.JDocComment
dup
aload 0
getfield com.sun.codemodel.internal.JFieldVar.owner:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.owner:()Lcom/sun/codemodel/internal/JCodeModel;
invokespecial com.sun.codemodel.internal.JDocComment.<init>:(Lcom/sun/codemodel/internal/JCodeModel;)V
putfield com.sun.codemodel.internal.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JFieldVar;
public void declare(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.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnull 2
1: aload 1
aload 0
getfield com.sun.codemodel.internal.JFieldVar.jdoc:Lcom/sun/codemodel/internal/JDocComment;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
pop
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.sun.codemodel.internal.JVar.declare:(Lcom/sun/codemodel/internal/JFormatter;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JFieldVar;
0 4 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
}
SourceFile: "JFieldVar.java"