public class org.apache.batik.dom.svg.SVGOMAngle implements org.w3c.dom.svg.SVGAngle
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.dom.svg.SVGOMAngle
super_class: java.lang.Object
{
private short unitType;
descriptor: S
flags: (0x0002) ACC_PRIVATE
protected float value;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected static final java.lang.String[] UNITS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static double[][] K;
descriptor: [[D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: iconst_5
anewarray java.lang.String
dup
iconst_0
1: ldc ""
aastore
dup
iconst_1
ldc ""
aastore
dup
iconst_2
ldc "deg"
aastore
dup
iconst_3
ldc "rad"
aastore
dup
iconst_4
ldc "grad"
aastore
2: putstatic org.apache.batik.dom.svg.SVGOMAngle.UNITS:[Ljava/lang/String;
3: iconst_3
anewarray double[]
dup
iconst_0
4: iconst_3
newarray 7
dup
iconst_0
dconst_1
dastore
dup
iconst_1
ldc 0.017453292519943295
dastore
dup
iconst_2
ldc 0.015707963267948967
dastore
aastore
dup
iconst_1
5: iconst_3
newarray 7
dup
iconst_0
ldc 57.29577951308232
dastore
dup
iconst_1
dconst_1
dastore
dup
iconst_2
ldc 63.66197723675813
dastore
aastore
dup
iconst_2
6: iconst_3
newarray 7
dup
iconst_0
ldc 0.9
dastore
dup
iconst_1
ldc 0.015707963267948967
dastore
dup
iconst_2
dconst_1
dastore
aastore
7: putstatic org.apache.batik.dom.svg.SVGOMAngle.K:[[D
8: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
public short getUnitType();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: aload 0
getfield org.apache.batik.dom.svg.SVGOMAngle.unitType:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
public float getValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.getUnitType:()S
aload 0
getfield org.apache.batik.dom.svg.SVGOMAngle.value:F
iconst_2
invokestatic org.apache.batik.dom.svg.SVGOMAngle.toUnit:(SFS)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
public void setValue(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: aload 0
iconst_2
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.setUnitType:(S)V
2: aload 0
fload 1
putfield org.apache.batik.dom.svg.SVGOMAngle.value:F
3: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.reset:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 5 1 value F
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public float getValueInSpecifiedUnits();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: aload 0
getfield org.apache.batik.dom.svg.SVGOMAngle.value:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
public void setValueInSpecifiedUnits(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: aload 0
fload 1
putfield org.apache.batik.dom.svg.SVGOMAngle.value:F
2: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.reset:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 4 1 value F
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public java.lang.String getValueAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.revalidate:()V
1: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.batik.dom.svg.SVGOMAngle.value:F
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.batik.dom.svg.SVGOMAngle.UNITS:[Ljava/lang/String;
aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.getUnitType:()S
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
public void setValueAsString(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
aload 1
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.parse:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.reset:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 3 1 value Ljava/lang/String;
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public void newValueSpecifiedUnits(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
iload 1
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.setUnitType:(S)V
1: aload 0
fload 2
putfield org.apache.batik.dom.svg.SVGOMAngle.value:F
2: aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.reset:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 4 1 unit S
0 4 2 value F
MethodParameters:
Name Flags
unit
value
public void convertToSpecifiedUnits(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.getUnitType:()S
aload 0
getfield org.apache.batik.dom.svg.SVGOMAngle.value:F
iload 1
invokestatic org.apache.batik.dom.svg.SVGOMAngle.toUnit:(SFS)F
putfield org.apache.batik.dom.svg.SVGOMAngle.value:F
1: aload 0
iload 1
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.setUnitType:(S)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 3 1 unit S
MethodParameters:
Name Flags
unit
protected void reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
protected void revalidate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
protected void parse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.batik.parser.AngleParser
dup
invokespecial org.apache.batik.parser.AngleParser.<init>:()V
astore 2
start local 2 1: aload 2
new org.apache.batik.dom.svg.SVGOMAngle$1
dup
aload 0
invokespecial org.apache.batik.dom.svg.SVGOMAngle$1.<init>:(Lorg/apache/batik/dom/svg/SVGOMAngle;)V
invokevirtual org.apache.batik.parser.AngleParser.setAngleHandler:(Lorg/apache/batik/parser/AngleHandler;)V
2: aload 0
iconst_1
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.setUnitType:(S)V
3: aload 2
aload 1
invokevirtual org.apache.batik.parser.AngleParser.parse:(Ljava/lang/String;)V
end local 2 4: goto 8
StackMap locals:
StackMap stack: org.apache.batik.parser.ParseException
5: pop
6: aload 0
iconst_0
invokevirtual org.apache.batik.dom.svg.SVGOMAngle.setUnitType:(S)V
7: aload 0
fconst_0
putfield org.apache.batik.dom.svg.SVGOMAngle.value:F
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 9 1 s Ljava/lang/String;
1 4 2 angleParser Lorg/apache/batik/parser/AngleParser;
Exception table:
from to target type
0 4 5 Class org.apache.batik.parser.ParseException
MethodParameters:
Name Flags
s
public static float toUnit(short, float, short);
descriptor: (SFS)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
iconst_1
if_icmpne 2
1: iconst_2
istore 0
2: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmpne 4
3: iconst_2
istore 2
4: StackMap locals:
StackMap stack:
getstatic org.apache.batik.dom.svg.SVGOMAngle.K:[[D
iload 0
iconst_2
isub
aaload
iload 2
iconst_2
isub
daload
fload 1
f2d
dmul
d2f
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 fromUnit S
0 5 1 value F
0 5 2 toUnit S
MethodParameters:
Name Flags
fromUnit
value
toUnit
public void setUnitType(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
iload 1
putfield org.apache.batik.dom.svg.SVGOMAngle.unitType:S
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/dom/svg/SVGOMAngle;
0 2 1 unitType S
MethodParameters:
Name Flags
unitType
}
SourceFile: "SVGOMAngle.java"
NestMembers:
org.apache.batik.dom.svg.SVGOMAngle$1
InnerClasses:
org.apache.batik.dom.svg.SVGOMAngle$1