public final class com.sun.codemodel.internal.JEnumConstant extends com.sun.codemodel.internal.JExpressionImpl implements com.sun.codemodel.internal.JDeclaration, com.sun.codemodel.internal.JAnnotatable, com.sun.codemodel.internal.JDocCommentable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.codemodel.internal.JEnumConstant
super_class: com.sun.codemodel.internal.JExpressionImpl
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.codemodel.internal.JDefinedClass type;
descriptor: Lcom/sun/codemodel/internal/JDefinedClass;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.codemodel.internal.JDocComment ;
descriptor: Lcom/sun/codemodel/internal/JDocComment;
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;>;
private java.util.List<com.sun.codemodel.internal.JExpression> args;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/codemodel/internal/JExpression;>;
void <init>(com.sun.codemodel.internal.JDefinedClass, java.lang.String);
descriptor: (Lcom/sun/codemodel/internal/JDefinedClass;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.codemodel.internal.JExpressionImpl.<init>:()V
1: aload 0
aconst_null
putfield com.sun.codemodel.internal.JEnumConstant.jdoc:Lcom/sun/codemodel/internal/JDocComment;
2: aload 0
aconst_null
putfield com.sun.codemodel.internal.JEnumConstant.annotations:Ljava/util/List;
3: aload 0
aconst_null
putfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
4: aload 0
aload 2
putfield com.sun.codemodel.internal.JEnumConstant.name:Ljava/lang/String;
5: aload 0
aload 1
putfield com.sun.codemodel.internal.JEnumConstant.type:Lcom/sun/codemodel/internal/JDefinedClass;
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/JEnumConstant;
0 7 1 type Lcom/sun/codemodel/internal/JDefinedClass;
0 7 2 name Ljava/lang/String;
MethodParameters:
Name Flags
type
name
public com.sun.codemodel.internal.JEnumConstant arg(com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/codemodel/internal/JEnumConstant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
ifnonnull 3
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/JEnumConstant;
0 5 1 arg Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
arg
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JEnumConstant.type:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.fullName:()Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.name:Ljava/lang/String;
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/codemodel/internal/JEnumConstant;
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.JEnumConstant.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.JEnumConstant.type: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.JEnumConstant.jdoc:Lcom/sun/codemodel/internal/JDocComment;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.jdoc:Lcom/sun/codemodel/internal/JDocComment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JEnumConstant;
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.JEnumConstant.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.JEnumConstant.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.JEnumConstant.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/JEnumConstant;
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.JEnumConstant.type:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JDefinedClass.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.JEnumConstant.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/JEnumConstant;
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/JEnumConstant;
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.JEnumConstant.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/JEnumConstant;
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.JEnumConstant.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.JEnumConstant.annotations:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.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/JEnumConstant;
Signature: ()Ljava/util/Collection<Lcom/sun/codemodel/internal/JAnnotationUse;>;
public void declare(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.JEnumConstant.jdoc:Lcom/sun/codemodel/internal/JDocComment;
ifnull 2
1: aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.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
getfield com.sun.codemodel.internal.JEnumConstant.annotations:Ljava/util/List;
ifnull 8
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.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
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.annotations:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 2 8: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.id:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
9: aload 0
getfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
ifnull 11
10: aload 1
bipush 40
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.args:Ljava/util/List;
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Ljava/util/Collection;)Lcom/sun/codemodel/internal/JFormatter;
bipush 41
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
pop
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/codemodel/internal/JEnumConstant;
0 12 1 f Lcom/sun/codemodel/internal/JFormatter;
4 8 2 i I
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.JEnumConstant.type:Lcom/sun/codemodel/internal/JDefinedClass;
invokevirtual com.sun.codemodel.internal.JFormatter.t:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JFormatter;
bipush 46
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
aload 0
getfield com.sun.codemodel.internal.JEnumConstant.name:Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(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/JEnumConstant;
0 2 1 f Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
f
}
SourceFile: "JEnumConstant.java"