class javax.swing.text.html.CSS$LengthValue extends javax.swing.text.html.CSS$CssValue
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.html.CSS$LengthValue
super_class: javax.swing.text.html.CSS$CssValue
{
boolean mayBeNegative;
descriptor: Z
flags: (0x0000)
boolean percentage;
descriptor: Z
flags: (0x0000)
float span;
descriptor: F
flags: (0x0000)
java.lang.String units;
descriptor: Ljava/lang/String;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial javax.swing.text.html.CSS$LengthValue.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/html/CSS$LengthValue;
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.text.html.CSS$CssValue.<init>:()V
1: aload 0
aconst_null
putfield javax.swing.text.html.CSS$LengthValue.units:Ljava/lang/String;
2: aload 0
iload 1
putfield javax.swing.text.html.CSS$LengthValue.mayBeNegative:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 4 1 mayBeNegative Z
MethodParameters:
Name Flags
mayBeNegative
float getValue();
descriptor: ()F
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual javax.swing.text.html.CSS$LengthValue.getValue:(Z)F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CSS$LengthValue;
float getValue(boolean);
descriptor: (Z)F
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fconst_0
iload 1
invokevirtual javax.swing.text.html.CSS$LengthValue.getValue:(FZ)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 1 1 isW3CLengthUnits Z
MethodParameters:
Name Flags
isW3CLengthUnits
float getValue(float);
descriptor: (F)F
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
iconst_0
invokevirtual javax.swing.text.html.CSS$LengthValue.getValue:(FZ)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 1 1 currentValue F
MethodParameters:
Name Flags
currentValue
float getValue(float, boolean);
descriptor: (FZ)F
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.html.CSS$LengthValue.percentage:Z
ifeq 2
1: aload 0
getfield javax.swing.text.html.CSS$LengthValue.span:F
fload 1
fmul
freturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.html.CSS$LengthValue.span:F
aload 0
getfield javax.swing.text.html.CSS$LengthValue.units:Ljava/lang/String;
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic javax.swing.text.html.CSS$LengthUnit.getValue:(FLjava/lang/String;Ljava/lang/Boolean;)F
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 3 1 currentValue F
0 3 2 isW3CLengthUnits Z
MethodParameters:
Name Flags
currentValue
isW3CLengthUnits
boolean isPercentage();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.html.CSS$LengthValue.percentage:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CSS$LengthValue;
java.lang.Object parseCssValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.Float.valueOf:(Ljava/lang/String;)Ljava/lang/Float;
invokevirtual java.lang.Float.floatValue:()F
fstore 3
start local 3 1: new javax.swing.text.html.CSS$LengthValue
dup
invokespecial javax.swing.text.html.CSS$LengthValue.<init>:()V
astore 2
start local 2 2: aload 2
fload 3
putfield javax.swing.text.html.CSS$LengthValue.span:F
end local 3 3: goto 22
end local 2 StackMap locals:
StackMap stack: java.lang.NumberFormatException
4: pop
5: new javax.swing.text.html.CSS$LengthUnit
dup
aload 1
6: bipush 10
7: fconst_0
8: invokespecial javax.swing.text.html.CSS$LengthUnit.<init>:(Ljava/lang/String;SF)V
astore 3
start local 3 9: aload 3
getfield javax.swing.text.html.CSS$LengthUnit.type:S
tableswitch { // 0 - 1
0: 10
1: 17
default: 21
}
10: StackMap locals: javax.swing.text.html.CSS$LengthValue java.lang.String top javax.swing.text.html.CSS$LengthUnit
StackMap stack:
new javax.swing.text.html.CSS$LengthValue
dup
invokespecial javax.swing.text.html.CSS$LengthValue.<init>:()V
astore 2
start local 2 11: aload 2
12: aload 0
getfield javax.swing.text.html.CSS$LengthValue.mayBeNegative:Z
ifeq 13
aload 3
getfield javax.swing.text.html.CSS$LengthUnit.value:F
goto 14
StackMap locals: javax.swing.text.html.CSS$LengthValue java.lang.String javax.swing.text.html.CSS$LengthValue javax.swing.text.html.CSS$LengthUnit
StackMap stack: javax.swing.text.html.CSS$LengthValue
13: fconst_0
aload 3
getfield javax.swing.text.html.CSS$LengthUnit.value:F
invokestatic java.lang.Math.max:(FF)F
14: StackMap locals: javax.swing.text.html.CSS$LengthValue java.lang.String javax.swing.text.html.CSS$LengthValue javax.swing.text.html.CSS$LengthUnit
StackMap stack: javax.swing.text.html.CSS$LengthValue float
putfield javax.swing.text.html.CSS$LengthValue.span:F
15: aload 2
aload 3
getfield javax.swing.text.html.CSS$LengthUnit.units:Ljava/lang/String;
putfield javax.swing.text.html.CSS$LengthValue.units:Ljava/lang/String;
16: goto 22
end local 2 17: StackMap locals: javax.swing.text.html.CSS$LengthValue java.lang.String top javax.swing.text.html.CSS$LengthUnit
StackMap stack:
new javax.swing.text.html.CSS$LengthValue
dup
invokespecial javax.swing.text.html.CSS$LengthValue.<init>:()V
astore 2
start local 2 18: aload 2
fconst_0
fconst_1
aload 3
getfield javax.swing.text.html.CSS$LengthUnit.value:F
invokestatic java.lang.Math.min:(FF)F
invokestatic java.lang.Math.max:(FF)F
putfield javax.swing.text.html.CSS$LengthValue.span:F
19: aload 2
iconst_1
putfield javax.swing.text.html.CSS$LengthValue.percentage:Z
20: goto 22
end local 2 21: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 start local 2 22: StackMap locals: javax.swing.text.html.CSS$LengthValue java.lang.String javax.swing.text.html.CSS$LengthValue
StackMap stack:
aload 2
aload 1
putfield javax.swing.text.html.CSS$LengthValue.svalue:Ljava/lang/String;
23: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 24 1 value Ljava/lang/String;
2 4 2 lv Ljavax/swing/text/html/CSS$LengthValue;
11 17 2 lv Ljavax/swing/text/html/CSS$LengthValue;
18 21 2 lv Ljavax/swing/text/html/CSS$LengthValue;
22 24 2 lv Ljavax/swing/text/html/CSS$LengthValue;
1 3 3 absolute F
9 22 3 lu Ljavax/swing/text/html/CSS$LengthUnit;
Exception table:
from to target type
0 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
value
java.lang.Object parseHtmlValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "#DEFAULT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: ldc "1"
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.text.html.CSS$LengthValue.parseCssValue:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 3 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
java.lang.Object fromStyleConstants(javax.swing.text.StyleConstants, java.lang.Object);
descriptor: (Ljavax/swing/text/StyleConstants;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new javax.swing.text.html.CSS$LengthValue
dup
invokespecial javax.swing.text.html.CSS$LengthValue.<init>:()V
astore 3
start local 3 1: aload 3
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
putfield javax.swing.text.html.CSS$LengthValue.svalue:Ljava/lang/String;
2: aload 3
aload 2
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
putfield javax.swing.text.html.CSS$LengthValue.span:F
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 4 1 key Ljavax/swing/text/StyleConstants;
0 4 2 value Ljava/lang/Object;
1 4 3 v Ljavax/swing/text/html/CSS$LengthValue;
MethodParameters:
Name Flags
key
value
java.lang.Object toStyleConstants(javax.swing.text.StyleConstants, javax.swing.text.View);
descriptor: (Ljavax/swing/text/StyleConstants;Ljavax/swing/text/View;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
invokevirtual javax.swing.text.html.CSS$LengthValue.getValue:(Z)F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/html/CSS$LengthValue;
0 1 1 key Ljavax/swing/text/StyleConstants;
0 1 2 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
key
v
}
SourceFile: "CSS.java"
NestHost: javax.swing.text.html.CSS
InnerClasses:
CssValue = javax.swing.text.html.CSS$CssValue of javax.swing.text.html.CSS
LengthUnit = javax.swing.text.html.CSS$LengthUnit of javax.swing.text.html.CSS
LengthValue = javax.swing.text.html.CSS$LengthValue of javax.swing.text.html.CSS