class javax.swing.text.rtf.RTFAttributes$NumericAttribute extends javax.swing.text.rtf.RTFAttributes$GenericAttribute implements javax.swing.text.rtf.RTFAttribute
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.rtf.RTFAttributes$NumericAttribute
super_class: javax.swing.text.rtf.RTFAttributes$GenericAttribute
{
int rtfDefault;
descriptor: I
flags: (0x0000)
java.lang.Number swingDefault;
descriptor: Ljava/lang/Number;
flags: (0x0000)
float scale;
descriptor: F
flags: (0x0000)
protected void <init>(int, java.lang.Object, java.lang.String);
descriptor: (ILjava/lang/Object;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
aload 3
invokespecial javax.swing.text.rtf.RTFAttributes$GenericAttribute.<init>:(ILjava/lang/Object;Ljava/lang/String;)V
1: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
2: aload 0
aconst_null
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingDefault:Ljava/lang/Number;
3: aload 0
fconst_1
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 5 1 d I
0 5 2 s Ljava/lang/Object;
0 5 3 r Ljava/lang/String;
MethodParameters:
Name Flags
d
s
r
public void <init>(int, java.lang.Object, java.lang.String, int, int);
descriptor: (ILjava/lang/Object;Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
aload 3
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 5
fconst_1
invokespecial javax.swing.text.rtf.RTFAttributes$NumericAttribute.<init>:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Number;IF)V
1: return
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 2 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 2 1 d I
0 2 2 s Ljava/lang/Object;
0 2 3 r Ljava/lang/String;
0 2 4 ds I
0 2 5 dr I
MethodParameters:
Name Flags
d
s
r
ds
dr
public void <init>(int, java.lang.Object, java.lang.String, java.lang.Number, int, float);
descriptor: (ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Number;IF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 1
aload 2
aload 3
invokespecial javax.swing.text.rtf.RTFAttributes$GenericAttribute.<init>:(ILjava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 4
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingDefault:Ljava/lang/Number;
2: aload 0
iload 5
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
3: aload 0
fload 6
putfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
4: return
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 5 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 5 1 d I
0 5 2 s Ljava/lang/Object;
0 5 3 r Ljava/lang/String;
0 5 4 ds Ljava/lang/Number;
0 5 5 dr I
0 5 6 sc F
MethodParameters:
Name Flags
d
s
r
ds
dr
sc
public static javax.swing.text.rtf.RTFAttributes$NumericAttribute NewTwips(int, java.lang.Object, java.lang.String, float, int);
descriptor: (ILjava/lang/Object;Ljava/lang/String;FI)Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new javax.swing.text.rtf.RTFAttributes$NumericAttribute
dup
iload 0
aload 1
aload 2
new java.lang.Float
dup
fload 3
invokespecial java.lang.Float.<init>:(F)V
iload 4
ldc 20.0
invokespecial javax.swing.text.rtf.RTFAttributes$NumericAttribute.<init>:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Number;IF)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d I
0 1 1 s Ljava/lang/Object;
0 1 2 r Ljava/lang/String;
0 1 3 ds F
0 1 4 dr I
MethodParameters:
Name Flags
d
s
r
ds
dr
public static javax.swing.text.rtf.RTFAttributes$NumericAttribute NewTwips(int, java.lang.Object, java.lang.String, int);
descriptor: (ILjava/lang/Object;Ljava/lang/String;I)Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.swing.text.rtf.RTFAttributes$NumericAttribute
dup
iload 0
aload 1
aload 2
aconst_null
iload 3
ldc 20.0
invokespecial javax.swing.text.rtf.RTFAttributes$NumericAttribute.<init>:(ILjava/lang/Object;Ljava/lang/String;Ljava/lang/Number;IF)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d I
0 1 1 s Ljava/lang/Object;
0 1 2 r Ljava/lang/String;
0 1 3 dr I
MethodParameters:
Name Flags
d
s
r
dr
public boolean set(javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/MutableAttributeSet;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 1 1 target Ljavax/swing/text/MutableAttributeSet;
MethodParameters:
Name Flags
target
public boolean set(javax.swing.text.MutableAttributeSet, int);
descriptor: (Ljavax/swing/text/MutableAttributeSet;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
fconst_1
fcmpl
ifne 3
1: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
new java.lang.Float
dup
iload 2
i2f
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
fdiv
invokespecial java.lang.Float.<init>:(F)V
astore 3
start local 3 4: StackMap locals: java.lang.Number
StackMap stack:
aload 1
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingName:Ljava/lang/Object;
aload 3
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
5: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 6 1 target Ljavax/swing/text/MutableAttributeSet;
0 6 2 parameter I
2 3 3 swingValue Ljava/lang/Number;
4 6 3 swingValue Ljava/lang/Number;
MethodParameters:
Name Flags
target
parameter
public boolean setDefault(javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/MutableAttributeSet;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingName:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingDefault:Ljava/lang/Number;
astore 2
3: StackMap locals: java.lang.Number
StackMap stack:
aload 2
ifnull 7
4: aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
fconst_1
fcmpl
ifne 5
aload 2
invokevirtual java.lang.Number.intValue:()I
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
if_icmpeq 6
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Number.floatValue:()F
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
fmul
invokestatic java.lang.Math.round:(F)I
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
if_icmpne 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
invokevirtual javax.swing.text.rtf.RTFAttributes$NumericAttribute.set:(Ljavax/swing/text/MutableAttributeSet;I)Z
pop
8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 9 1 target Ljavax/swing/text/MutableAttributeSet;
1 9 2 old Ljava/lang/Number;
MethodParameters:
Name Flags
target
public boolean writeValue(java.lang.Object, javax.swing.text.rtf.RTFGenerator, boolean);
descriptor: (Ljava/lang/Object;Ljavax/swing/text/rtf/RTFGenerator;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast java.lang.Number
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.swingDefault:Ljava/lang/Number;
astore 4
3: StackMap locals: java.lang.Number
StackMap stack:
aload 4
ifnonnull 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.Number.floatValue:()F
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.scale:F
fmul
invokestatic java.lang.Math.round:(F)I
istore 5
start local 5 6: iload 3
ifne 7
iload 5
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfDefault:I
if_icmpeq 8
7: StackMap locals: int
StackMap stack:
aload 2
aload 0
getfield javax.swing.text.rtf.RTFAttributes$NumericAttribute.rtfName:Ljava/lang/String;
iload 5
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
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 9 0 this Ljavax/swing/text/rtf/RTFAttributes$NumericAttribute;
0 9 1 o_value Ljava/lang/Object;
0 9 2 target Ljavax/swing/text/rtf/RTFGenerator;
0 9 3 force Z
1 9 4 value Ljava/lang/Number;
6 9 5 int_value I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o_value
target
force
}
SourceFile: "RTFAttributes.java"
NestHost: javax.swing.text.rtf.RTFAttributes
InnerClasses:
abstract GenericAttribute = javax.swing.text.rtf.RTFAttributes$GenericAttribute of javax.swing.text.rtf.RTFAttributes
NumericAttribute = javax.swing.text.rtf.RTFAttributes$NumericAttribute of javax.swing.text.rtf.RTFAttributes