public class org.apache.batik.css.engine.value.FloatValue extends org.apache.batik.css.engine.value.AbstractValue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.css.engine.value.FloatValue
super_class: org.apache.batik.css.engine.value.AbstractValue
{
protected static final java.lang.String[] UNITS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected float floatValue;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected short unitType;
descriptor: S
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 18
anewarray java.lang.String
dup
iconst_0
1: ldc ""
aastore
dup
iconst_1
ldc "%"
aastore
dup
iconst_2
ldc "em"
aastore
dup
iconst_3
ldc "ex"
aastore
dup
iconst_4
ldc "px"
aastore
dup
iconst_5
ldc "cm"
aastore
dup
bipush 6
ldc "mm"
aastore
dup
bipush 7
ldc "in"
aastore
dup
bipush 8
ldc "pt"
aastore
dup
bipush 9
2: ldc "pc"
aastore
dup
bipush 10
ldc "deg"
aastore
dup
bipush 11
ldc "rad"
aastore
dup
bipush 12
ldc "grad"
aastore
dup
bipush 13
ldc "ms"
aastore
dup
bipush 14
ldc "s"
aastore
dup
bipush 15
ldc "Hz"
aastore
dup
bipush 16
ldc "kHz"
aastore
dup
bipush 17
ldc ""
aastore
3: putstatic org.apache.batik.css.engine.value.FloatValue.UNITS:[Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getCssText(short, float);
descriptor: (SF)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iflt 1
iload 0
getstatic org.apache.batik.css.engine.value.FloatValue.UNITS:[Ljava/lang/String;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
new org.w3c.dom.DOMException
dup
bipush 12
ldc ""
invokespecial org.w3c.dom.DOMException.<init>:(SLjava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
fload 1
invokestatic java.lang.String.valueOf:(F)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc ".0"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
5: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.batik.css.engine.value.FloatValue.UNITS:[Ljava/lang/String;
iload 0
iconst_1
isub
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 unit S
0 6 1 value F
3 6 2 s Ljava/lang/String;
MethodParameters:
Name Flags
unit
value
public void <init>(short, float);
descriptor: (SF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.apache.batik.css.engine.value.AbstractValue.<init>:()V
1: aload 0
iload 1
putfield org.apache.batik.css.engine.value.FloatValue.unitType:S
2: aload 0
fload 2
putfield org.apache.batik.css.engine.value.FloatValue.floatValue:F
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/css/engine/value/FloatValue;
0 4 1 unitType S
0 4 2 floatValue F
MethodParameters:
Name Flags
unitType
floatValue
public short getPrimitiveType();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.css.engine.value.FloatValue.unitType:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/css/engine/value/FloatValue;
public float getFloatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.css.engine.value.FloatValue.floatValue:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/css/engine/value/FloatValue;
public java.lang.String getCssText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.css.engine.value.FloatValue.unitType:S
aload 0
getfield org.apache.batik.css.engine.value.FloatValue.floatValue:F
invokestatic org.apache.batik.css.engine.value.FloatValue.getCssText:(SF)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/css/engine/value/FloatValue;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.css.engine.value.FloatValue.getCssText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/css/engine/value/FloatValue;
}
SourceFile: "FloatValue.java"