public class com.sun.org.apache.bcel.internal.generic.FCONST extends com.sun.org.apache.bcel.internal.generic.Instruction implements com.sun.org.apache.bcel.internal.generic.ConstantPushInstruction, com.sun.org.apache.bcel.internal.generic.TypedInstruction
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.generic.FCONST
super_class: com.sun.org.apache.bcel.internal.generic.Instruction
{
private float value;
descriptor: F
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FCONST;
public void <init>(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 11
iconst_1
invokespecial com.sun.org.apache.bcel.internal.generic.Instruction.<init>:(SS)V
1: fload 1
f2d
dconst_0
dcmpl
ifne 3
2: aload 0
bipush 11
putfield com.sun.org.apache.bcel.internal.generic.FCONST.opcode:S
goto 8
3: StackMap locals: com.sun.org.apache.bcel.internal.generic.FCONST float
StackMap stack:
fload 1
f2d
dconst_1
dcmpl
ifne 5
4: aload 0
bipush 12
putfield com.sun.org.apache.bcel.internal.generic.FCONST.opcode:S
goto 8
5: StackMap locals:
StackMap stack:
fload 1
f2d
ldc 2.0
dcmpl
ifne 7
6: aload 0
bipush 13
putfield com.sun.org.apache.bcel.internal.generic.FCONST.opcode:S
goto 8
7: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.generic.ClassGenException
dup
new java.lang.StringBuilder
dup
ldc "FCONST can be used only for 0.0, 1.0 and 2.0: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
fload 1
invokevirtual java.lang.StringBuilder.append:(F)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
8: StackMap locals:
StackMap stack:
aload 0
fload 1
putfield com.sun.org.apache.bcel.internal.generic.FCONST.value:F
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/bcel/internal/generic/FCONST;
0 10 1 f F
MethodParameters:
Name Flags
f
public java.lang.Number getValue();
descriptor: ()Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Float
dup
aload 0
getfield com.sun.org.apache.bcel.internal.generic.FCONST.value:F
invokespecial java.lang.Float.<init>:(F)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FCONST;
public com.sun.org.apache.bcel.internal.generic.Type getType(com.sun.org.apache.bcel.internal.generic.ConstantPoolGen);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;)Lcom/sun/org/apache/bcel/internal/generic/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.bcel.internal.generic.Type.FLOAT:Lcom/sun/org/apache/bcel/internal/generic/BasicType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/generic/FCONST;
0 1 1 cp Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
MethodParameters:
Name Flags
cp
public void accept(com.sun.org.apache.bcel.internal.generic.Visitor);
descriptor: (Lcom/sun/org/apache/bcel/internal/generic/Visitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.Visitor.visitPushInstruction:(Lcom/sun/org/apache/bcel/internal/generic/PushInstruction;)V
1: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.Visitor.visitStackProducer:(Lcom/sun/org/apache/bcel/internal/generic/StackProducer;)V
2: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.Visitor.visitTypedInstruction:(Lcom/sun/org/apache/bcel/internal/generic/TypedInstruction;)V
3: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.Visitor.visitConstantPushInstruction:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPushInstruction;)V
4: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.generic.Visitor.visitFCONST:(Lcom/sun/org/apache/bcel/internal/generic/FCONST;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/generic/FCONST;
0 6 1 v Lcom/sun/org/apache/bcel/internal/generic/Visitor;
MethodParameters:
Name Flags
v
}
SourceFile: "FCONST.java"