public class org.apache.batik.anim.values.AnimatableLengthValue extends org.apache.batik.anim.values.AnimatableValue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.anim.values.AnimatableLengthValue
super_class: org.apache.batik.anim.values.AnimatableValue
{
protected static final java.lang.String[] UNITS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected short lengthType;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected float lengthValue;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected short percentageInterpretation;
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 10
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
ldc "pc"
aastore
2: putstatic org.apache.batik.anim.values.AnimatableLengthValue.UNITS:[Ljava/lang/String;
3: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.batik.anim.dom.AnimationTarget);
descriptor: (Lorg/apache/batik/anim/dom/AnimationTarget;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.batik.anim.values.AnimatableValue.<init>:(Lorg/apache/batik/anim/dom/AnimationTarget;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
0 2 1 target Lorg/apache/batik/anim/dom/AnimationTarget;
MethodParameters:
Name Flags
target
public void <init>(org.apache.batik.anim.dom.AnimationTarget, short, float, short);
descriptor: (Lorg/apache/batik/anim/dom/AnimationTarget;SFS)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
aload 1
invokespecial org.apache.batik.anim.values.AnimatableValue.<init>:(Lorg/apache/batik/anim/dom/AnimationTarget;)V
1: aload 0
iload 2
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
2: aload 0
fload 3
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
3: aload 0
iload 4
putfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
0 5 1 target Lorg/apache/batik/anim/dom/AnimationTarget;
0 5 2 type S
0 5 3 v F
0 5 4 pcInterp S
MethodParameters:
Name Flags
target
type
v
pcInterp
public org.apache.batik.anim.values.AnimatableValue interpolate(org.apache.batik.anim.values.AnimatableValue, org.apache.batik.anim.values.AnimatableValue, float, org.apache.batik.anim.values.AnimatableValue, int);
descriptor: (Lorg/apache/batik/anim/values/AnimatableValue;Lorg/apache/batik/anim/values/AnimatableValue;FLorg/apache/batik/anim/values/AnimatableValue;I)Lorg/apache/batik/anim/values/AnimatableValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnonnull 3
1: new org.apache.batik.anim.values.AnimatableLengthValue
dup
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
invokespecial org.apache.batik.anim.values.AnimatableLengthValue.<init>:(Lorg/apache/batik/anim/dom/AnimationTarget;)V
astore 6
start local 6 2: goto 4
end local 6 3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.batik.anim.values.AnimatableLengthValue
astore 6
start local 6 4: StackMap locals: org.apache.batik.anim.values.AnimatableLengthValue
StackMap stack:
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
istore 7
start local 7 5: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fstore 8
start local 8 6: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
istore 9
start local 9 7: aload 6
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
8: aload 6
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
9: aload 6
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
putfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
10: aload 2
ifnull 28
11: aload 2
checkcast org.apache.batik.anim.values.AnimatableLengthValue
astore 10
start local 10 12: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
13: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
14: invokestatic org.apache.batik.anim.values.AnimatableLengthValue.compatibleTypes:(SSSS)Z
15: ifne 26
16: aload 6
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
17: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
18: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
19: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
20: aload 6
iconst_1
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
21: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
22: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
23: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
24: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
fstore 11
start local 11 25: goto 27
end local 11 26: StackMap locals: org.apache.batik.anim.values.AnimatableLengthValue org.apache.batik.anim.values.AnimatableValue org.apache.batik.anim.values.AnimatableValue float org.apache.batik.anim.values.AnimatableValue int org.apache.batik.anim.values.AnimatableLengthValue int float int org.apache.batik.anim.values.AnimatableLengthValue
StackMap stack:
aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fstore 11
start local 11 27: StackMap locals: float
StackMap stack:
aload 6
dup
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fload 3
fload 11
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fsub
fmul
fadd
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
end local 11 end local 10 28: StackMap locals:
StackMap stack:
aload 4
ifnull 47
29: aload 4
checkcast org.apache.batik.anim.values.AnimatableLengthValue
astore 10
start local 10 30: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
31: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
32: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
33: invokestatic org.apache.batik.anim.values.AnimatableLengthValue.compatibleTypes:(SSSS)Z
34: ifne 45
35: aload 6
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
36: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
37: aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
38: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
39: aload 6
iconst_1
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
40: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
41: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
42: aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
43: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
fstore 11
start local 11 44: goto 46
end local 11 45: StackMap locals: org.apache.batik.anim.values.AnimatableLengthValue
StackMap stack:
aload 10
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fstore 11
start local 11 46: StackMap locals: float
StackMap stack:
aload 6
dup
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
iload 5
i2f
fload 11
fmul
fadd
putfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
end local 11 end local 10 47: StackMap locals:
StackMap stack:
iload 9
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
if_icmpne 50
48: iload 7
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
if_icmpne 50
49: fload 8
aload 6
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
fcmpl
ifeq 51
50: StackMap locals:
StackMap stack:
aload 6
iconst_1
putfield org.apache.batik.anim.values.AnimatableLengthValue.hasChanged:Z
51: StackMap locals:
StackMap stack:
aload 6
areturn
end local 9 end local 8 end local 7 end local 6 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 52 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
0 52 1 result Lorg/apache/batik/anim/values/AnimatableValue;
0 52 2 to Lorg/apache/batik/anim/values/AnimatableValue;
0 52 3 interpolation F
0 52 4 accumulation Lorg/apache/batik/anim/values/AnimatableValue;
0 52 5 multiplier I
2 3 6 res Lorg/apache/batik/anim/values/AnimatableLengthValue;
4 52 6 res Lorg/apache/batik/anim/values/AnimatableLengthValue;
5 52 7 oldLengthType S
6 52 8 oldLengthValue F
7 52 9 oldPercentageInterpretation S
12 28 10 toLength Lorg/apache/batik/anim/values/AnimatableLengthValue;
25 26 11 toValue F
27 28 11 toValue F
30 47 10 accLength Lorg/apache/batik/anim/values/AnimatableLengthValue;
44 45 11 accValue F
46 47 11 accValue F
MethodParameters:
Name Flags
result
to
interpolation
accumulation
multiplier
public static boolean compatibleTypes(short, short, short, short);
descriptor: (SSSS)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
iload 2
if_icmpne 2
1: iload 0
iconst_2
if_icmpne 7
iload 1
iload 3
if_icmpeq 7
2: StackMap locals:
StackMap stack:
iload 0
iconst_1
if_icmpne 4
3: iload 2
iconst_5
if_icmpeq 7
4: StackMap locals:
StackMap stack:
iload 0
iconst_5
if_icmpne 6
5: iload 2
iconst_1
if_icmpeq 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
7: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t1 S
0 8 1 pi1 S
0 8 2 t2 S
0 8 3 pi2 S
MethodParameters:
Name Flags
t1
pi1
t2
pi2
public int getLengthType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
public float getLengthValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
public boolean canPace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
public float distanceTo(org.apache.batik.anim.values.AnimatableValue);
descriptor: (Lorg/apache/batik/anim/values/AnimatableValue;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.apache.batik.anim.values.AnimatableLengthValue
astore 2
start local 2 1: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
2: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
3: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
fstore 3
start local 3 4: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
aload 2
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
aload 2
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
5: aload 2
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
6: invokeinterface org.apache.batik.anim.dom.AnimationTarget.svgToUserSpace:(FSS)F
fstore 4
start local 4 7: fload 3
fload 4
fsub
invokestatic java.lang.Math.abs:(F)F
freturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
0 8 1 other Lorg/apache/batik/anim/values/AnimatableValue;
1 8 2 o Lorg/apache/batik/anim/values/AnimatableLengthValue;
4 8 3 v1 F
7 8 4 v2 F
MethodParameters:
Name Flags
other
public org.apache.batik.anim.values.AnimatableValue getZeroValue();
descriptor: ()Lorg/apache/batik/anim/values/AnimatableValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new org.apache.batik.anim.values.AnimatableLengthValue
dup
1: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.target:Lorg/apache/batik/anim/dom/AnimationTarget;
iconst_1
fconst_0
2: aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.percentageInterpretation:S
3: invokespecial org.apache.batik.anim.values.AnimatableLengthValue.<init>:(Lorg/apache/batik/anim/dom/AnimationTarget;SFS)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
public java.lang.String getCssText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthValue:F
invokestatic org.apache.batik.anim.values.AnimatableLengthValue.formatNumber:(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.anim.values.AnimatableLengthValue.UNITS:[Ljava/lang/String;
aload 0
getfield org.apache.batik.anim.values.AnimatableLengthValue.lengthType:S
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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/values/AnimatableLengthValue;
}
SourceFile: "AnimatableLengthValue.java"