public class com.sun.codemodel.internal.JVar extends com.sun.codemodel.internal.JExpressionImpl implements com.sun.codemodel.internal.JDeclaration, com.sun.codemodel.internal.JAssignmentTarget, com.sun.codemodel.internal.JAnnotatable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.codemodel.internal.JVar
super_class: com.sun.codemodel.internal.JExpressionImpl
{
private com.sun.codemodel.internal.JMods mods;
descriptor: Lcom/sun/codemodel/internal/JMods;
flags: (0x0002) ACC_PRIVATE
private com.sun.codemodel.internal.JType type;
descriptor: Lcom/sun/codemodel/internal/JType;
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.codemodel.internal.JExpression init;
descriptor: Lcom/sun/codemodel/internal/JExpression;
flags: (0x0002) ACC_PRIVATE
private java.util.List<com.sun.codemodel.internal.JAnnotationUse> annotations;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/codemodel/internal/JAnnotationUse;>;
void <init>(com.sun.codemodel.internal.JMods, com.sun.codemodel.internal.JType, java.lang.String, com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JMods;Lcom/sun/codemodel/internal/JType;Ljava/lang/String;Lcom/sun/codemodel/internal/JExpression;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.sun.codemodel.internal.JExpressionImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
2: aload 0
aload 1
putfield com.sun.codemodel.internal.JVar.mods:Lcom/sun/codemodel/internal/JMods;
3: aload 0
aload 2
putfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
4: aload 0
aload 3
putfield com.sun.codemodel.internal.JVar.name:Ljava/lang/String;
5: aload 0
aload 4
putfield com.sun.codemodel.internal.JVar.init:Lcom/sun/codemodel/internal/JExpression;
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/codemodel/internal/JVar;
0 7 1 mods Lcom/sun/codemodel/internal/JMods;
0 7 2 type Lcom/sun/codemodel/internal/JType;
0 7 3 name Ljava/lang/String;
0 7 4 init Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
mods
type
name
init
public com.sun.codemodel.internal.JVar init(com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JVar;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.codemodel.internal.JVar.init:Lcom/sun/codemodel/internal/JExpression;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JVar;
0 2 1 init Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
init
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JVar.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
public void name(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.codemodel.internal.JJavaName.isJavaIdentifier:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.codemodel.internal.JVar.name:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JVar;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public com.sun.codemodel.internal.JType type();
descriptor: ()Lcom/sun/codemodel/internal/JType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
public com.sun.codemodel.internal.JMods mods();
descriptor: ()Lcom/sun/codemodel/internal/JMods;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JVar.mods:Lcom/sun/codemodel/internal/JMods;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
public com.sun.codemodel.internal.JType type(com.sun.codemodel.internal.JType);
descriptor: (Lcom/sun/codemodel/internal/JType;)Lcom/sun/codemodel/internal/JType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
astore 2
start local 2 1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals: com.sun.codemodel.internal.JType
StackMap stack:
aload 0
aload 1
putfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/JVar;
0 5 1 newType Lcom/sun/codemodel/internal/JType;
1 5 2 r Lcom/sun/codemodel/internal/JType;
MethodParameters:
Name Flags
newType
public com.sun.codemodel.internal.JAnnotationUse annotate(com.sun.codemodel.internal.JClass);
descriptor: (Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
2: StackMap locals:
StackMap stack:
new com.sun.codemodel.internal.JAnnotationUse
dup
aload 1
invokespecial com.sun.codemodel.internal.JAnnotationUse.<init>:(Lcom/sun/codemodel/internal/JClass;)V
astore 2
start local 2 3: aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/JVar;
0 5 1 clazz Lcom/sun/codemodel/internal/JClass;
3 5 2 a Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
clazz
public com.sun.codemodel.internal.JAnnotationUse annotate(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationUse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
invokevirtual com.sun.codemodel.internal.JType.owner:()Lcom/sun/codemodel/internal/JCodeModel;
aload 1
invokevirtual com.sun.codemodel.internal.JCodeModel.ref:(Ljava/lang/Class;)Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JVar.annotate:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JAnnotationUse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
0 1 1 clazz Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
clazz
public <W extends com.sun.codemodel.internal.JAnnotationWriter> W annotate2(java.lang.Class<W>);
descriptor: (Ljava/lang/Class;)Lcom/sun/codemodel/internal/JAnnotationWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic com.sun.codemodel.internal.TypedAnnotationWriter.create:(Ljava/lang/Class;Lcom/sun/codemodel/internal/JAnnotatable;)Lcom/sun/codemodel/internal/JAnnotationWriter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
0 1 1 clazz Ljava/lang/Class<TW;>;
Signature: <W::Lcom/sun/codemodel/internal/JAnnotationWriter;>(Ljava/lang/Class<TW;>;)TW;
MethodParameters:
Name Flags
clazz
public boolean removeAnnotation(com.sun.codemodel.internal.JAnnotationUse);
descriptor: (Lcom/sun/codemodel/internal/JAnnotationUse;)Z
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.JVar.annotations:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
0 1 1 annotation Lcom/sun/codemodel/internal/JAnnotationUse;
MethodParameters:
Name Flags
annotation
public java.util.Collection<com.sun.codemodel.internal.JAnnotationUse> annotations();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JVar;
Signature: ()Ljava/util/Collection<Lcom/sun/codemodel/internal/JAnnotationUse;>;
protected boolean isAnnotated();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
ifnull 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/JVar;
public void bind(com.sun.codemodel.internal.JFormatter);
descriptor: (Lcom/sun/codemodel/internal/JFormatter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
ifnull 6
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JGenerable
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.codemodel.internal.JVar.annotations:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.codemodel.internal.JVar.mods:Lcom/sun/codemodel/internal/JMods;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JVar.type:Lcom/sun/codemodel/internal/JType;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JVar.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.id:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
7: aload 0
getfield com.sun.codemodel.internal.JVar.init:Lcom/sun/codemodel/internal/JExpression;
ifnull 9
8: aload 1
bipush 61
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JVar.init:Lcom/sun/codemodel/internal/JExpression;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
pop
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/codemodel/internal/JVar;
0 10 1 f Lcom/sun/codemodel/internal/JFormatter;
2 6 2 i I
MethodParameters:
Name Flags
f
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 1
aload 0
invokevirtual com.sun.codemodel.internal.JFormatter.b:(Lcom/sun/codemodel/internal/JVar;)Lcom/sun/codemodel/internal/JFormatter;
bipush 59
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JVar;
0 2 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
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 1
aload 0
getfield com.sun.codemodel.internal.JVar.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.id:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JVar;
0 2 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
public com.sun.codemodel.internal.JExpression assign(com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.codemodel.internal.JExpr.assign:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
0 1 1 rhs Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
rhs
public com.sun.codemodel.internal.JExpression assignPlus(com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.codemodel.internal.JExpr.assignPlus:(Lcom/sun/codemodel/internal/JAssignmentTarget;Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JExpression;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JVar;
0 1 1 rhs Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
rhs
}
SourceFile: "JVar.java"