public class com.sun.org.apache.bcel.internal.generic.FieldGen extends com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.generic.FieldGen
super_class: com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen
{
private java.lang.Object value;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private static com.sun.org.apache.bcel.internal.util.BCELComparator bcelComparator;
descriptor: Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.util.List<com.sun.org.apache.bcel.internal.generic.FieldObserver> observers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.org.apache.bcel.internal.generic.FieldGen$1
dup
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGen$1.<init>:()V
putstatic com.sun.org.apache.bcel.internal.generic.FieldGen.bcelComparator:Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, com.sun.org.apache.bcel.internal.generic.Type, java.lang.String, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (ILcom/sun/org/apache/bcel/internal/generic/Type;Ljava/lang/String;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
flags: (0x0001) ACC_PUBLIC
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
iload 1
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.<init>:(I)V
1: aload 0
aconst_null
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
2: aload 0
aload 2
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.setType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
3: aload 0
aload 3
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.setName:(Ljava/lang/String;)V
4: aload 0
aload 4
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.setConstantPool:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 6 1 access_flags I
0 6 2 type Lcom/sun/org/apache/bcel/internal/generic/Type;
0 6 3 name Ljava/lang/String;
0 6 4 cp Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
access_flags final
type final
name final
cp final
public void <init>(com.sun.org.apache.bcel.internal.classfile.Field, com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/Field;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Field.getAccessFlags:()I
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Field.getSignature:()Ljava/lang/String;
invokestatic com.sun.org.apache.bcel.internal.generic.Type.getType:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/generic/Type;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Field.getName:()Ljava/lang/String;
aload 2
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGen.<init>:(ILcom/sun/org/apache/bcel/internal/generic/Type;Ljava/lang/String;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
1: aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.Field.getAttributes:()[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.classfile.Field com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] top int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
instanceof com.sun.org.apache.bcel.internal.classfile.ConstantValue
ifeq 7
5: aload 0
aload 4
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantValue
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantValue.getConstantValueIndex:()I
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.setValue:(I)V
6: goto 17
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.classfile.Field com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] com.sun.org.apache.bcel.internal.classfile.Attribute int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
7: aload 4
instanceof com.sun.org.apache.bcel.internal.classfile.Annotations
ifeq 16
8: aload 4
checkcast com.sun.org.apache.bcel.internal.classfile.Annotations
astore 8
start local 8 9: aload 8
invokevirtual com.sun.org.apache.bcel.internal.classfile.Annotations.getAnnotationEntries:()[Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
astore 9
start local 9 10: aload 9
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 14
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.classfile.Field com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] com.sun.org.apache.bcel.internal.classfile.Attribute int int com.sun.org.apache.bcel.internal.classfile.Attribute[] com.sun.org.apache.bcel.internal.classfile.Annotations com.sun.org.apache.bcel.internal.classfile.AnnotationEntry[] top int int com.sun.org.apache.bcel.internal.classfile.AnnotationEntry[]
StackMap stack:
11: aload 13
iload 11
aaload
astore 10
start local 10 12: aload 0
new com.sun.org.apache.bcel.internal.generic.AnnotationEntryGen
dup
aload 10
aload 2
iconst_0
invokespecial com.sun.org.apache.bcel.internal.generic.AnnotationEntryGen.<init>:(Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;Z)V
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addAnnotationEntry:(Lcom/sun/org/apache/bcel/internal/generic/AnnotationEntryGen;)V
end local 10 13: iinc 11 1
StackMap locals:
StackMap stack:
14: iload 11
iload 12
if_icmplt 11
end local 9 end local 8 15: goto 17
16: StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.classfile.Field com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] com.sun.org.apache.bcel.internal.classfile.Attribute int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addAttribute:(Lcom/sun/org/apache/bcel/internal/classfile/Attribute;)V
end local 4 17: StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.classfile.Field com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] top int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
iload 6
if_icmplt 3
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 20 1 field Lcom/sun/org/apache/bcel/internal/classfile/Field;
0 20 2 cp Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
2 20 3 attrs [Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
4 17 4 attr Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
9 15 8 runtimeAnnotations Lcom/sun/org/apache/bcel/internal/classfile/Annotations;
10 15 9 annotationEntries [Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
12 13 10 element Lcom/sun/org/apache/bcel/internal/classfile/AnnotationEntry;
MethodParameters:
Name Flags
field final
cp final
private void setValue(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
astore 2
start local 2 1: aload 2
iload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.ConstantPool.getConstant:(I)Lcom/sun/org/apache/bcel/internal/classfile/Constant;
astore 3
start local 3 2: aload 0
aload 3
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantObject
aload 2
invokeinterface com.sun.org.apache.bcel.internal.classfile.ConstantObject.getConstantValue:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Ljava/lang/Object;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 index I
1 4 2 cp Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
2 4 3 c Lcom/sun/org/apache/bcel/internal/classfile/Constant;
MethodParameters:
Name Flags
index final
public void setInitValue(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 0
ldc "java.lang.String"
invokestatic com.sun.org.apache.bcel.internal.generic.ObjectType.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/generic/ObjectType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: aload 1
ifnull 3
2: aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
public void setInitValue(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.LONG:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: lload 1
lconst_0
lcmp
ifeq 3
2: aload 0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 l J
MethodParameters:
Name Flags
l final
public void setInitValue(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.INT:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: iload 1
ifeq 3
2: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 i I
MethodParameters:
Name Flags
i final
public void setInitValue(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.SHORT:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: iload 1
ifeq 3
2: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 s S
MethodParameters:
Name Flags
s final
public void setInitValue(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.CHAR:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: iload 1
ifeq 3
2: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 c C
MethodParameters:
Name Flags
c final
public void setInitValue(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.BYTE:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: iload 1
ifeq 3
2: aload 0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 b B
MethodParameters:
Name Flags
b final
public void setInitValue(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.BOOLEAN:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: iload 1
ifeq 3
2: aload 0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 b Z
MethodParameters:
Name Flags
b final
public void setInitValue(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.FLOAT:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: fload 1
f2d
dconst_0
dcmpl
ifeq 3
2: aload 0
fload 1
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 f F
MethodParameters:
Name Flags
f final
public void setInitValue(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.org.apache.bcel.internal.generic.Type.DOUBLE:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
1: dload 1
dconst_0
dcmpl
ifeq 3
2: aload 0
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 d D
MethodParameters:
Name Flags
d final
public void cancelInitValue();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
private void checkType(com.sun.org.apache.bcel.internal.generic.Type);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/Type;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
ldc "You haven't defined the type of the field yet"
invokespecial com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.org.apache.bcel.internal.generic.Type
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.isFinal:()Z
ifne 5
4: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
ldc "Only final fields may have an initial value!"
invokespecial com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.Type.equals:(Ljava/lang/Object;)Z
ifne 7
6: new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
new java.lang.StringBuilder
dup
ldc "Types are not compatible: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " vs. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.generic.ClassGenException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 8 1 atype Lcom/sun/org/apache/bcel/internal/generic/Type;
1 8 2 superType Lcom/sun/org/apache/bcel/internal/generic/Type;
MethodParameters:
Name Flags
atype final
public com.sun.org.apache.bcel.internal.classfile.Field getField();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.getSignature:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getName:()Ljava/lang/String;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
istore 2
start local 2 2: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
istore 3
start local 3 3: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
ifnull 9
4: aload 0
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.checkType:(Lcom/sun/org/apache/bcel/internal/generic/Type;)V
5: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addConstant:()I
istore 4
start local 4 6: aload 0
new com.sun.org.apache.bcel.internal.classfile.ConstantValue
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
ldc "ConstantValue"
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addUtf8:(Ljava/lang/String;)I
iconst_2
iload 4
7: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantValue.<init>:(IIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
8: invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addAttribute:(Lcom/sun/org/apache/bcel/internal/classfile/Attribute;)V
end local 4 9: StackMap locals: java.lang.String int int
StackMap stack:
aload 0
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addAnnotationsAsAttribute:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
10: new com.sun.org.apache.bcel.internal.classfile.Field
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getAccessFlags:()I
iload 2
iload 3
aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.getAttributes:()[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
11: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
12: invokespecial com.sun.org.apache.bcel.internal.classfile.Field.<init>:(III[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
1 13 1 signature Ljava/lang/String;
2 13 2 name_index I
3 13 3 signature_index I
6 9 4 index I
private void addAnnotationsAsAttribute(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getAnnotationEntries:()[Lcom/sun/org/apache/bcel/internal/generic/AnnotationEntryGen;
invokestatic com.sun.org.apache.bcel.internal.generic.AnnotationEntryGen.getAnnotationAttributes:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;[Lcom/sun/org/apache/bcel/internal/generic/AnnotationEntryGen;)[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
astore 2
start local 2 1: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen com.sun.org.apache.bcel.internal.generic.ConstantPoolGen com.sun.org.apache.bcel.internal.classfile.Attribute[] top int int com.sun.org.apache.bcel.internal.classfile.Attribute[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 0
aload 3
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.addAttribute:(Lcom/sun/org/apache/bcel/internal/classfile/Attribute;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 7 1 cp Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
1 7 2 attrs [Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
3 4 3 attr Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
MethodParameters:
Name Flags
cp final
private int addConstant();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
invokevirtual com.sun.org.apache.bcel.internal.generic.Type.getType:()B
tableswitch { // 4 - 14
4: 1
5: 1
6: 2
7: 3
8: 1
9: 1
10: 1
11: 4
12: 6
13: 6
14: 5
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addInteger:(I)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addFloat:(F)I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addDouble:(D)I
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addLong:(J)I
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
checkcast java.lang.String
invokevirtual com.sun.org.apache.bcel.internal.generic.ConstantPoolGen.addString:(Ljava/lang/String;)I
ireturn
6: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Oops: Unhandled : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
invokevirtual com.sun.org.apache.bcel.internal.generic.Type.getType:()B
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
public java.lang.String getSignature();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
invokevirtual com.sun.org.apache.bcel.internal.generic.Type.getSignature:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
public void addObserver(com.sun.org.apache.bcel.internal.generic.FieldObserver);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 4 1 o Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;
MethodParameters:
Name Flags
o final
public void removeObserver(com.sun.org.apache.bcel.internal.generic.FieldObserver);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;)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.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
ifnull 2
1: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 3 1 o Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;
MethodParameters:
Name Flags
o final
public void update();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
ifnull 5
1: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.observers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.FieldObserver
astore 1
start local 1 3: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.FieldObserver.notify:(Lcom/sun/org/apache/bcel/internal/generic/FieldGen;)V
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
3 4 1 observer Lcom/sun/org/apache/bcel/internal/generic/FieldObserver;
public java.lang.String getInitValue();
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.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
ifnull 2
1: aload 0
getfield com.sun.org.apache.bcel.internal.generic.FieldGen.value:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getAccessFlags:()I
invokestatic com.sun.org.apache.bcel.internal.classfile.Utility.accessToString:(I)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
ldc ""
goto 3
StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen top top java.lang.String
StackMap stack:
2: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 3
4: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.FieldGenOrMethodGen.getType:()Lcom/sun/org/apache/bcel/internal/generic/Type;
invokevirtual com.sun.org.apache.bcel.internal.generic.Type.toString:()Ljava/lang/String;
astore 2
start local 2 5: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.getName:()Ljava/lang/String;
astore 1
start local 1 6: new java.lang.StringBuilder
dup
bipush 32
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 7: aload 4
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.getInitValue:()Ljava/lang/String;
astore 5
start local 5 9: aload 5
ifnull 11
10: aload 4
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals: com.sun.org.apache.bcel.internal.generic.FieldGen java.lang.String java.lang.String java.lang.String java.lang.StringBuilder java.lang.String
StackMap stack:
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 12 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
6 12 1 name Ljava/lang/String;
5 12 2 signature Ljava/lang/String;
1 12 3 access Ljava/lang/String;
7 12 4 buf Ljava/lang/StringBuilder;
9 12 5 value Ljava/lang/String;
public com.sun.org.apache.bcel.internal.generic.FieldGen copy(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.clone:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.generic.FieldGen
astore 2
start local 2 1: aload 2
aload 1
invokevirtual com.sun.org.apache.bcel.internal.generic.FieldGen.setConstantPool:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 3 1 cp Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
1 3 2 fg Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
MethodParameters:
Name Flags
cp final
public static com.sun.org.apache.bcel.internal.util.BCELComparator getComparator();
descriptor: ()Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.org.apache.bcel.internal.generic.FieldGen.bcelComparator:Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setComparator(com.sun.org.apache.bcel.internal.util.BCELComparator);
descriptor: (Lcom/sun/org/apache/bcel/internal/util/BCELComparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.org.apache.bcel.internal.generic.FieldGen.bcelComparator:Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 comparator Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
MethodParameters:
Name Flags
comparator final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.bcel.internal.generic.FieldGen.bcelComparator:Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
aload 0
aload 1
invokeinterface com.sun.org.apache.bcel.internal.util.BCELComparator.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.bcel.internal.generic.FieldGen.bcelComparator:Lcom/sun/org/apache/bcel/internal/util/BCELComparator;
aload 0
invokeinterface com.sun.org.apache.bcel.internal.util.BCELComparator.hashCode:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FieldGen;
}
SourceFile: "FieldGen.java"
NestMembers:
com.sun.org.apache.bcel.internal.generic.FieldGen$1
InnerClasses:
com.sun.org.apache.bcel.internal.generic.FieldGen$1