class javax.swing.text.rtf.RTFGenerator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.rtf.RTFGenerator
super_class: java.lang.Object
{
java.util.Dictionary colorTable;
descriptor: Ljava/util/Dictionary;
flags: (0x0000)
int colorCount;
descriptor: I
flags: (0x0000)
java.util.Dictionary fontTable;
descriptor: Ljava/util/Dictionary;
flags: (0x0000)
int fontCount;
descriptor: I
flags: (0x0000)
java.util.Dictionary styleTable;
descriptor: Ljava/util/Dictionary;
flags: (0x0000)
int styleCount;
descriptor: I
flags: (0x0000)
java.io.OutputStream outputStream;
descriptor: Ljava/io/OutputStream;
flags: (0x0000)
boolean afterKeyword;
descriptor: Z
flags: (0x0000)
javax.swing.text.MutableAttributeSet outputAttributes;
descriptor: Ljavax/swing/text/MutableAttributeSet;
flags: (0x0000)
int unicodeCount;
descriptor: I
flags: (0x0000)
private javax.swing.text.Segment workingSegment;
descriptor: Ljavax/swing/text/Segment;
flags: (0x0002) ACC_PRIVATE
int[] outputConversion;
descriptor: [I
flags: (0x0000)
public static final java.awt.Color defaultRTFColor;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final float defaultFontSize;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 12.0
public static final java.lang.String defaultFontFamily;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Helvetica"
protected static java.lang.Integer One;
descriptor: Ljava/lang/Integer;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static java.lang.Integer Zero;
descriptor: Ljava/lang/Integer;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static java.lang.Boolean False;
descriptor: Ljava/lang/Boolean;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected static java.lang.Float ZeroPointZero;
descriptor: Ljava/lang/Float;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
private static java.lang.Object MagicToken;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected static javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair[] textKeywords;
descriptor: [Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
static final char[] hexdigits;
descriptor: [C
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: getstatic java.awt.Color.black:Ljava/awt/Color;
putstatic javax.swing.text.rtf.RTFGenerator.defaultRTFColor:Ljava/awt/Color;
1: new java.lang.Integer
dup
iconst_1
invokespecial java.lang.Integer.<init>:(I)V
putstatic javax.swing.text.rtf.RTFGenerator.One:Ljava/lang/Integer;
2: new java.lang.Integer
dup
iconst_0
invokespecial java.lang.Integer.<init>:(I)V
putstatic javax.swing.text.rtf.RTFGenerator.Zero:Ljava/lang/Integer;
3: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putstatic javax.swing.text.rtf.RTFGenerator.False:Ljava/lang/Boolean;
4: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
5: new java.lang.Float
dup
fconst_0
invokespecial java.lang.Float.<init>:(F)V
putstatic javax.swing.text.rtf.RTFGenerator.ZeroPointZero:Ljava/lang/Float;
6: getstatic javax.swing.text.rtf.RTFReader.textKeywords:Ljava/util/Dictionary;
astore 0
start local 0 7: aload 0
invokevirtual java.util.Dictionary.keys:()Ljava/util/Enumeration;
astore 1
start local 1 8: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 9: goto 14
10: StackMap locals: java.util.Dictionary java.util.Enumeration java.util.Vector
StackMap stack:
new javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair
dup
invokespecial javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.<init>:()V
astore 3
start local 3 11: aload 3
aload 1
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
putfield javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.keyword:Ljava/lang/String;
12: aload 3
aload 0
aload 3
getfield javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.keyword:Ljava/lang/String;
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokevirtual java.lang.String.charAt:(I)C
putfield javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.character:C
13: aload 2
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 14: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 10
15: aload 2
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair
putstatic javax.swing.text.rtf.RTFGenerator.textKeywords:[Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
16: aload 2
getstatic javax.swing.text.rtf.RTFGenerator.textKeywords:[Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
end local 2 end local 1 end local 0 17: bipush 16
newarray 5
dup
iconst_0
bipush 48
castore
dup
iconst_1
bipush 49
castore
dup
iconst_2
bipush 50
castore
dup
iconst_3
bipush 51
castore
dup
iconst_4
bipush 52
castore
dup
iconst_5
bipush 53
castore
dup
bipush 6
bipush 54
castore
dup
bipush 7
bipush 55
castore
dup
bipush 8
18: bipush 56
castore
dup
bipush 9
bipush 57
castore
dup
bipush 10
bipush 97
castore
dup
bipush 11
bipush 98
castore
dup
bipush 12
bipush 99
castore
dup
bipush 13
bipush 100
castore
dup
bipush 14
bipush 101
castore
dup
bipush 15
bipush 102
castore
19: putstatic javax.swing.text.rtf.RTFGenerator.hexdigits:[C
20: return
LocalVariableTable:
Start End Slot Name Signature
7 17 0 textKeywordDictionary Ljava/util/Dictionary;
8 17 1 keys Ljava/util/Enumeration;
9 17 2 tempPairs Ljava/util/Vector;
11 14 3 pair Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
public static void writeDocument(javax.swing.text.Document, java.io.OutputStream);
descriptor: (Ljavax/swing/text/Document;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new javax.swing.text.rtf.RTFGenerator
dup
aload 1
invokespecial javax.swing.text.rtf.RTFGenerator.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 1: aload 0
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 3
start local 3 2: aload 2
aload 3
invokevirtual javax.swing.text.rtf.RTFGenerator.examineElement:(Ljavax/swing/text/Element;)V
3: aload 2
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRTFHeader:()V
4: aload 2
aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeDocumentProperties:(Ljavax/swing/text/Document;)V
5: aload 3
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 10
8: StackMap locals: javax.swing.text.Document java.io.OutputStream javax.swing.text.rtf.RTFGenerator javax.swing.text.Element int int
StackMap stack:
aload 2
aload 3
iload 5
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeParagraphElement:(Ljavax/swing/text/Element;)V
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 4
if_icmplt 8
end local 5 11: aload 2
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRTFTrailer:()V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 d Ljavax/swing/text/Document;
0 13 1 to Ljava/io/OutputStream;
1 13 2 gen Ljavax/swing/text/rtf/RTFGenerator;
2 13 3 root Ljavax/swing/text/Element;
6 13 4 max I
7 11 5 idx I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
d
to
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
2: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
getstatic javax.swing.text.rtf.RTFGenerator.defaultRTFColor:Ljava/awt/Color;
new java.lang.Integer
dup
iconst_0
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.Dictionary.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
iconst_1
putfield javax.swing.text.rtf.RTFGenerator.colorCount:I
4: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
5: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.fontCount:I
6: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
7: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.styleCount:I
8: aload 0
new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
putfield javax.swing.text.rtf.RTFGenerator.workingSegment:Ljavax/swing/text/Segment;
9: aload 0
aload 1
putfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
10: aload 0
iconst_1
putfield javax.swing.text.rtf.RTFGenerator.unicodeCount:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 12 1 to Ljava/io/OutputStream;
MethodParameters:
Name Flags
to
public void examineElement(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual javax.swing.text.rtf.RTFGenerator.tallyStyles:(Ljavax/swing/text/AttributeSet;)V
2: aload 2
ifnull 20
3: aload 2
invokestatic javax.swing.text.StyleConstants.getForeground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
astore 4
start local 4 4: aload 4
ifnull 8
5: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 4
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 8
6: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 4
new java.lang.Integer
dup
aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.Dictionary.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
dup
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
iconst_1
iadd
putfield javax.swing.text.rtf.RTFGenerator.colorCount:I
8: StackMap locals: javax.swing.text.rtf.RTFGenerator javax.swing.text.Element javax.swing.text.AttributeSet top java.lang.Object
StackMap stack:
aload 2
getstatic javax.swing.text.StyleConstants.Background:Ljava/lang/Object;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 9: aload 5
ifnull 13
10: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 5
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 13
11: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 5
new java.lang.Integer
dup
aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.Dictionary.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
dup
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
iconst_1
iadd
putfield javax.swing.text.rtf.RTFGenerator.colorCount:I
13: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic javax.swing.text.StyleConstants.getFontFamily:(Ljavax/swing/text/AttributeSet;)Ljava/lang/String;
astore 3
start local 3 14: aload 3
ifnonnull 16
15: ldc "Helvetica"
astore 3
16: StackMap locals: javax.swing.text.rtf.RTFGenerator javax.swing.text.Element javax.swing.text.AttributeSet java.lang.String java.lang.Object java.lang.Object
StackMap stack:
aload 3
ifnull 20
17: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
aload 3
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 20
18: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
aload 3
new java.lang.Integer
dup
aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontCount:I
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.Dictionary.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
dup
getfield javax.swing.text.rtf.RTFGenerator.fontCount:I
iconst_1
iadd
putfield javax.swing.text.rtf.RTFGenerator.fontCount:I
end local 5 end local 4 end local 3 20: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 6
start local 6 21: iconst_0
istore 7
start local 7 22: goto 25
23: StackMap locals: javax.swing.text.rtf.RTFGenerator javax.swing.text.Element javax.swing.text.AttributeSet top top top int int
StackMap stack:
aload 0
aload 1
iload 7
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokevirtual javax.swing.text.rtf.RTFGenerator.examineElement:(Ljavax/swing/text/Element;)V
24: iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
iload 6
if_icmplt 23
end local 7 26: return
end local 6 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 27 1 el Ljavax/swing/text/Element;
1 27 2 a Ljavax/swing/text/AttributeSet;
14 20 3 fontName Ljava/lang/String;
4 20 4 foregroundColor Ljava/lang/Object;
9 20 5 backgroundColor Ljava/lang/Object;
21 27 6 el_count I
22 26 7 el_idx I
MethodParameters:
Name Flags
el
private void tallyStyles(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: goto 8
1: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.text.Style
ifeq 7
2: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 1
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 3: aload 2
ifnonnull 7
4: aload 0
dup
getfield javax.swing.text.rtf.RTFGenerator.styleCount:I
iconst_1
iadd
putfield javax.swing.text.rtf.RTFGenerator.styleCount:I
5: new java.lang.Integer
dup
aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleCount:I
invokespecial java.lang.Integer.<init>:(I)V
astore 2
6: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 1
aload 2
invokevirtual java.util.Dictionary.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.AttributeSet.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 1
8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 10 1 a Ljavax/swing/text/AttributeSet;
3 7 2 aNum Ljava/lang/Integer;
MethodParameters:
Name Flags
a
private javax.swing.text.Style findStyle(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/Style;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: goto 6
1: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.text.Style
ifeq 5
2: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 1
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 1
checkcast javax.swing.text.Style
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.AttributeSet.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 8 1 a Ljavax/swing/text/AttributeSet;
3 5 2 aNum Ljava/lang/Object;
MethodParameters:
Name Flags
a
private java.lang.Integer findStyleNumber(javax.swing.text.AttributeSet, java.lang.String);
descriptor: (Ljavax/swing/text/AttributeSet;Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: goto 8
1: StackMap locals:
StackMap stack:
aload 1
instanceof javax.swing.text.Style
ifeq 7
2: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 1
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 2
ifnull 6
5: aload 2
aload 1
ldc "style:type"
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: StackMap locals: java.lang.Integer
StackMap stack:
aload 3
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.AttributeSet.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 1
8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 1
9: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 10 1 a Ljavax/swing/text/AttributeSet;
0 10 2 domain Ljava/lang/String;
3 7 3 aNum Ljava/lang/Integer;
MethodParameters:
Name Flags
a
domain
private static java.lang.Object attrDiff(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, java.lang.Object, java.lang.Object);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 1
aload 2
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 5
aload 4
if_acmpne 4
3: aconst_null
areturn
4: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 5
ifnonnull 9
5: aload 0
aload 2
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
6: aload 3
ifnull 8
aload 3
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
7: aload 3
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 4
ifnull 11
10: aload 4
aload 5
invokestatic javax.swing.text.rtf.RTFGenerator.equalArraysOK:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 13
11: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 5
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
12: aload 5
areturn
13: StackMap locals:
StackMap stack:
aconst_null
areturn
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 14 0 oldAttrs Ljavax/swing/text/MutableAttributeSet;
0 14 1 newAttrs Ljavax/swing/text/AttributeSet;
0 14 2 key Ljava/lang/Object;
0 14 3 dfl Ljava/lang/Object;
1 14 4 oldValue Ljava/lang/Object;
2 14 5 newValue Ljava/lang/Object;
MethodParameters:
Name Flags
oldAttrs
newAttrs
key
dfl
private static boolean equalArraysOK(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 1
ifnonnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 7
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifne 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.Object[]
astore 2
start local 2 9: aload 1
checkcast java.lang.Object[]
astore 3
start local 3 10: aload 2
arraylength
aload 3
arraylength
if_icmpeq 12
11: iconst_0
ireturn
12: StackMap locals: java.lang.Object[] java.lang.Object[]
StackMap stack:
aload 2
arraylength
istore 5
start local 5 13: iconst_0
istore 4
start local 4 14: goto 18
15: StackMap locals: int int
StackMap stack:
aload 2
iload 4
aaload
aload 3
iload 4
aaload
invokestatic javax.swing.text.rtf.RTFGenerator.equalArraysOK:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
18: iload 4
iload 5
if_icmplt 15
19: 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 20 0 a Ljava/lang/Object;
0 20 1 b Ljava/lang/Object;
9 20 2 aa [Ljava/lang/Object;
10 20 3 bb [Ljava/lang/Object;
14 20 4 i I
13 20 5 l I
MethodParameters:
Name Flags
a
b
public void writeLineBreak();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "\n"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
1: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/rtf/RTFGenerator;
Exceptions:
throws java.io.IOException
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeBegingroup:()V
1: aload 0
ldc "rtf"
iconst_1
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
2: aload 0
ldc "ansi"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
3: aload 0
ldc "ansi"
invokestatic javax.swing.text.rtf.RTFGenerator.outputConversionForName:(Ljava/lang/String;)[I
putfield javax.swing.text.rtf.RTFGenerator.outputConversion:[I
4: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
5: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontCount:I
anewarray java.lang.String
astore 2
start local 2 6: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
invokevirtual java.util.Dictionary.keys:()Ljava/util/Enumeration;
astore 3
start local 3 7: goto 11
8: StackMap locals: javax.swing.text.rtf.RTFGenerator top java.lang.String[] java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 9: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
aload 4
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 5
start local 5 10: aload 2
aload 5
invokevirtual java.lang.Integer.intValue:()I
aload 4
aastore
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
12: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeBegingroup:()V
13: aload 0
ldc "fonttbl"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
14: iconst_0
istore 1
start local 1 15: goto 21
16: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration
StackMap stack:
aload 0
ldc "f"
iload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
17: aload 0
ldc "fnil"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
18: aload 0
aload 2
iload 1
aaload
invokevirtual javax.swing.text.rtf.RTFGenerator.writeText:(Ljava/lang/String;)V
19: aload 0
ldc ";"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeText:(Ljava/lang/String;)V
20: iinc 1 1
StackMap locals:
StackMap stack:
21: iload 1
aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontCount:I
if_icmplt 16
22: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeEndgroup:()V
23: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
24: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
iconst_1
if_icmple 45
25: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
anewarray java.awt.Color
astore 5
start local 5 26: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
invokevirtual java.util.Dictionary.keys:()Ljava/util/Enumeration;
astore 6
start local 6 27: goto 31
28: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration top java.awt.Color[] java.util.Enumeration
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.awt.Color
astore 7
start local 7 29: aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 7
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 8
start local 8 30: aload 5
aload 8
invokevirtual java.lang.Integer.intValue:()I
aload 7
aastore
end local 8 end local 7 31: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 28
32: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeBegingroup:()V
33: aload 0
ldc "colortbl"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
34: iconst_0
istore 1
goto 42
35: StackMap locals:
StackMap stack:
aload 5
iload 1
aaload
astore 7
start local 7 36: aload 7
ifnull 40
37: aload 0
ldc "red"
aload 7
invokevirtual java.awt.Color.getRed:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
38: aload 0
ldc "green"
aload 7
invokevirtual java.awt.Color.getGreen:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
39: aload 0
ldc "blue"
aload 7
invokevirtual java.awt.Color.getBlue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
40: StackMap locals: java.awt.Color
StackMap stack:
aload 0
ldc ";"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
41: iinc 1 1
end local 7 StackMap locals:
StackMap stack:
42: iload 1
aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorCount:I
if_icmplt 35
43: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeEndgroup:()V
44: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
end local 6 end local 5 45: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleCount:I
iconst_1
if_icmple 95
46: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeBegingroup:()V
47: aload 0
ldc "stylesheet"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
48: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
invokevirtual java.util.Dictionary.keys:()Ljava/util/Enumeration;
astore 5
start local 5 49: goto 92
50: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration top java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.text.Style
astore 6
start local 6 51: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 6
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 7
start local 7 52: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeBegingroup:()V
53: aload 6
ldc "style:type"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 54: aload 8
ifnonnull 56
55: ldc "paragraph"
astore 8
56: StackMap locals: javax.swing.text.Style int java.lang.String
StackMap stack:
aload 8
ldc "character"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 60
57: aload 0
ldc "*"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
58: aload 0
ldc "cs"
iload 7
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
59: goto 65
StackMap locals:
StackMap stack:
60: aload 8
ldc "section"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 64
61: aload 0
ldc "*"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
62: aload 0
ldc "ds"
iload 7
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
63: goto 65
64: StackMap locals:
StackMap stack:
aload 0
ldc "s"
iload 7
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
65: StackMap locals:
StackMap stack:
aload 6
invokeinterface javax.swing.text.Style.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 9
start local 9 66: aload 9
ifnonnull 69
67: new javax.swing.text.SimpleAttributeSet
dup
invokespecial javax.swing.text.SimpleAttributeSet.<init>:()V
astore 10
start local 10 68: goto 70
end local 10 69: StackMap locals: javax.swing.text.AttributeSet
StackMap stack:
new javax.swing.text.SimpleAttributeSet
dup
aload 9
invokespecial javax.swing.text.SimpleAttributeSet.<init>:(Ljavax/swing/text/AttributeSet;)V
astore 10
start local 10 70: StackMap locals: javax.swing.text.MutableAttributeSet
StackMap stack:
aload 0
aload 10
aload 6
iconst_0
invokevirtual javax.swing.text.rtf.RTFGenerator.updateSectionAttributes:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
71: aload 0
aload 10
aload 6
iconst_0
invokevirtual javax.swing.text.rtf.RTFGenerator.updateParagraphAttributes:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
72: aload 0
aload 10
aload 6
iconst_0
invokevirtual javax.swing.text.rtf.RTFGenerator.updateCharacterAttributes:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
73: aload 6
invokeinterface javax.swing.text.Style.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 9
74: aload 9
ifnull 78
aload 9
instanceof javax.swing.text.Style
ifeq 78
75: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 9
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 11
start local 11 76: aload 11
ifnull 78
77: aload 0
ldc "sbasedon"
aload 11
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 11 78: StackMap locals:
StackMap stack:
aload 6
ldc "style:nextStyle"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.Style
astore 11
start local 11 79: aload 11
ifnull 83
80: aload 0
getfield javax.swing.text.rtf.RTFGenerator.styleTable:Ljava/util/Dictionary;
aload 11
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 12
start local 12 81: aload 12
ifnull 83
82: aload 0
ldc "snext"
aload 12
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 12 83: StackMap locals: javax.swing.text.Style
StackMap stack:
aload 6
ldc "style:hidden"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 12
start local 12 84: aload 12
ifnull 86
aload 12
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 86
85: aload 0
ldc "shidden"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
86: StackMap locals: java.lang.Boolean
StackMap stack:
aload 6
ldc "style:additive"
invokeinterface javax.swing.text.Style.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 13
start local 13 87: aload 13
ifnull 89
aload 13
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 89
88: aload 0
ldc "additive"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
89: StackMap locals: java.lang.Boolean
StackMap stack:
aload 0
aload 6
invokeinterface javax.swing.text.Style.getName:()Ljava/lang/String;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeText:(Ljava/lang/String;)V
90: aload 0
ldc ";"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeText:(Ljava/lang/String;)V
91: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeEndgroup:()V
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 92: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration top java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 50
93: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeEndgroup:()V
94: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
end local 5 95: StackMap locals: javax.swing.text.rtf.RTFGenerator int java.lang.String[] java.util.Enumeration
StackMap stack:
aload 0
new javax.swing.text.SimpleAttributeSet
dup
invokespecial javax.swing.text.SimpleAttributeSet.<init>:()V
putfield javax.swing.text.rtf.RTFGenerator.outputAttributes:Ljavax/swing/text/MutableAttributeSet;
96: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 97 0 this Ljavax/swing/text/rtf/RTFGenerator;
15 97 1 index I
6 97 2 sortedFontTable [Ljava/lang/String;
7 97 3 fonts Ljava/util/Enumeration;
9 11 4 font Ljava/lang/String;
10 11 5 num Ljava/lang/Integer;
26 45 5 sortedColorTable [Ljava/awt/Color;
27 45 6 colors Ljava/util/Enumeration;
29 31 7 color Ljava/awt/Color;
36 42 7 color Ljava/awt/Color;
30 31 8 num Ljava/lang/Integer;
49 95 5 styles Ljava/util/Enumeration;
51 92 6 style Ljavax/swing/text/Style;
52 92 7 styleNumber I
54 92 8 styleType Ljava/lang/String;
66 92 9 basis Ljavax/swing/text/AttributeSet;
68 69 10 goat Ljavax/swing/text/MutableAttributeSet;
70 92 10 goat Ljavax/swing/text/MutableAttributeSet;
76 78 11 basedOn Ljava/lang/Integer;
79 92 11 nextStyle Ljavax/swing/text/Style;
81 83 12 nextNum Ljava/lang/Integer;
84 92 12 hidden Ljava/lang/Boolean;
87 92 13 additive Ljava/lang/Boolean;
Exceptions:
throws java.io.IOException
void writeDocumentProperties(javax.swing.text.Document);
descriptor: (Ljavax/swing/text/Document;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 2
start local 2 2: goto 11
3: StackMap locals: int int
StackMap stack:
getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iload 2
aaload
astore 4
start local 4 4: aload 4
invokeinterface javax.swing.text.rtf.RTFAttribute.domain:()I
iconst_3
if_icmpeq 6
5: goto 10
6: StackMap locals: javax.swing.text.rtf.RTFAttribute
StackMap stack:
aload 1
aload 4
invokeinterface javax.swing.text.rtf.RTFAttribute.swingName:()Ljava/lang/Object;
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 7: aload 4
aload 5
aload 0
iconst_0
invokeinterface javax.swing.text.rtf.RTFAttribute.writeValue:(Ljava/lang/Object;Ljavax/swing/text/rtf/RTFGenerator;Z)Z
istore 6
start local 6 8: iload 6
ifeq 10
9: iconst_1
istore 3
end local 6 end local 5 end local 4 10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
arraylength
if_icmplt 3
12: iload 3
ifeq 14
13: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 15 1 doc Ljavax/swing/text/Document;
2 15 2 i I
1 15 3 wroteSomething Z
4 10 4 attr Ljavax/swing/text/rtf/RTFAttribute;
7 10 5 prop Ljava/lang/Object;
8 10 6 ok Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
doc
public void writeRTFTrailer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeEndgroup:()V
1: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/rtf/RTFGenerator;
Exceptions:
throws java.io.IOException
protected void checkNumericControlWord(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, java.lang.Object, java.lang.String, float, float);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/String;FF)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, 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 1
aload 2
1: aload 3
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
2: invokestatic javax.swing.text.rtf.RTFGenerator.attrDiff:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 7
start local 7 3: ifnull 9
4: aload 7
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
if_acmpne 7
5: fload 5
fstore 8
start local 8 6: goto 8
end local 8 7: StackMap locals: java.lang.Object
StackMap stack:
aload 7
checkcast java.lang.Number
invokevirtual java.lang.Number.floatValue:()F
fstore 8
start local 8 8: StackMap locals: float
StackMap stack:
aload 0
aload 4
fload 8
fload 6
fmul
invokestatic java.lang.Math.round:(F)I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 8 9: StackMap locals:
StackMap stack:
return
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 10 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 10 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
0 10 2 newAttributes Ljavax/swing/text/AttributeSet;
0 10 3 attrName Ljava/lang/Object;
0 10 4 controlWord Ljava/lang/String;
0 10 5 dflt F
0 10 6 scale F
3 10 7 parm Ljava/lang/Object;
6 7 8 targ F
8 9 8 targ F
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
newAttributes
attrName
controlWord
dflt
scale
protected void checkControlWord(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, javax.swing.text.rtf.RTFAttribute);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljavax/swing/text/rtf/RTFAttribute;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
1: aload 3
invokeinterface javax.swing.text.rtf.RTFAttribute.swingName:()Ljava/lang/Object;
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
2: invokestatic javax.swing.text.rtf.RTFGenerator.attrDiff:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 4
start local 4 3: ifnull 7
4: aload 4
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
if_acmpne 6
5: aconst_null
astore 4
6: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 4
aload 0
iconst_1
invokeinterface javax.swing.text.rtf.RTFAttribute.writeValue:(Ljava/lang/Object;Ljavax/swing/text/rtf/RTFGenerator;Z)Z
pop
7: StackMap locals:
StackMap stack:
return
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 Ljavax/swing/text/rtf/RTFGenerator;
0 8 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
0 8 2 newAttributes Ljavax/swing/text/AttributeSet;
0 8 3 word Ljavax/swing/text/rtf/RTFAttribute;
3 8 4 parm Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
newAttributes
word
protected void checkControlWords(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, javax.swing.text.rtf.RTFAttribute[], int);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;[Ljavax/swing/text/rtf/RTFAttribute;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
arraylength
istore 6
start local 6 1: iconst_0
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 3
iload 5
aaload
astore 7
start local 7 4: aload 7
invokeinterface javax.swing.text.rtf.RTFAttribute.domain:()I
iload 4
if_icmpne 6
5: aload 0
aload 1
aload 2
aload 7
invokevirtual javax.swing.text.rtf.RTFGenerator.checkControlWord:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljavax/swing/text/rtf/RTFAttribute;)V
end local 7 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 3
8: 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 9 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 9 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
0 9 2 newAttributes Ljavax/swing/text/AttributeSet;
0 9 3 words [Ljavax/swing/text/rtf/RTFAttribute;
0 9 4 domain I
2 9 5 wordIndex I
1 9 6 wordCount I
4 6 7 attr Ljavax/swing/text/rtf/RTFAttribute;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
newAttributes
words
domain
void updateSectionAttributes(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 11
1: aload 1
ldc "sectionStyle"
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 0
aload 2
ldc "section"
invokevirtual javax.swing.text.rtf.RTFGenerator.findStyleNumber:(Ljavax/swing/text/AttributeSet;Ljava/lang/String;)Ljava/lang/Integer;
astore 5
start local 5 3: aload 4
aload 5
if_acmpeq 11
4: aload 4
ifnull 6
5: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.resetSectionAttributes:(Ljavax/swing/text/MutableAttributeSet;)V
6: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 5
ifnull 10
7: aload 0
ldc "ds"
aload 5
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
8: aload 1
ldc "sectionStyle"
aload 5
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
ldc "sectionStyle"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
end local 5 end local 4 11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
12: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iconst_2
13: invokevirtual javax.swing.text.rtf.RTFGenerator.checkControlWords:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;[Ljavax/swing/text/rtf/RTFAttribute;I)V
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 15 1 current Ljavax/swing/text/MutableAttributeSet;
0 15 2 newAttributes Ljavax/swing/text/AttributeSet;
0 15 3 emitStyleChanges Z
2 11 4 oldStyle Ljava/lang/Object;
3 11 5 newStyle Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
current
newAttributes
emitStyleChanges
protected void resetSectionAttributes(javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/MutableAttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "sectd"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
1: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
arraylength
istore 3
start local 3 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: int int
StackMap stack:
getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iload 2
aaload
astore 4
start local 4 5: aload 4
invokeinterface javax.swing.text.rtf.RTFAttribute.domain:()I
iconst_2
if_icmpne 7
6: aload 4
aload 1
invokeinterface javax.swing.text.rtf.RTFAttribute.setDefault:(Ljavax/swing/text/MutableAttributeSet;)Z
pop
end local 4 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 4
9: aload 1
ldc "sectionStyle"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 11 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
3 11 2 wordIndex I
2 11 3 wordCount I
5 7 4 attr Ljavax/swing/text/rtf/RTFAttribute;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
void updateParagraphAttributes(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 8
1: aload 1
ldc "paragraphStyle"
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 0
aload 2
ldc "paragraph"
invokevirtual javax.swing.text.rtf.RTFGenerator.findStyleNumber:(Ljavax/swing/text/AttributeSet;Ljava/lang/String;)Ljava/lang/Integer;
astore 5
start local 5 3: aload 4
aload 5
if_acmpeq 10
4: aload 4
ifnull 10
5: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.resetParagraphAttributes:(Ljavax/swing/text/MutableAttributeSet;)V
6: aconst_null
astore 4
7: goto 10
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 9: aconst_null
astore 5
start local 5 10: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 1
ldc "tabs"
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 11: aload 2
ldc "tabs"
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 12: aload 6
aload 7
if_acmpeq 17
13: aload 6
ifnull 17
14: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.resetParagraphAttributes:(Ljavax/swing/text/MutableAttributeSet;)V
15: aconst_null
astore 6
16: aconst_null
astore 4
17: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 4
aload 5
if_acmpeq 20
aload 5
ifnull 20
18: aload 0
ldc "s"
aload 5
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
19: aload 1
ldc "paragraphStyle"
aload 5
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
20: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
21: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iconst_1
22: invokevirtual javax.swing.text.rtf.RTFGenerator.checkControlWords:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;[Ljavax/swing/text/rtf/RTFAttribute;I)V
23: aload 6
aload 7
if_acmpeq 54
aload 7
ifnull 54
24: aload 7
checkcast javax.swing.text.TabStop[]
astore 8
start local 8 25: iconst_0
istore 9
start local 9 26: goto 52
27: StackMap locals: javax.swing.text.TabStop[] int
StackMap stack:
aload 8
iload 9
aaload
astore 10
start local 10 28: aload 10
invokevirtual javax.swing.text.TabStop.getAlignment:()I
tableswitch { // 0 - 5
0: 29
1: 30
2: 32
3: 35
4: 34
5: 29
default: 35
}
29: StackMap locals: javax.swing.text.TabStop
StackMap stack:
goto 35
30: StackMap locals:
StackMap stack:
aload 0
ldc "tqr"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
ldc "tqc"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
33: goto 35
34: StackMap locals:
StackMap stack:
aload 0
ldc "tqdec"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
35: StackMap locals:
StackMap stack:
aload 10
invokevirtual javax.swing.text.TabStop.getLeader:()I
tableswitch { // 0 - 5
0: 36
1: 37
2: 39
3: 41
4: 43
5: 45
default: 46
}
36: StackMap locals:
StackMap stack:
goto 46
37: StackMap locals:
StackMap stack:
aload 0
ldc "tldot"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
38: goto 46
39: StackMap locals:
StackMap stack:
aload 0
ldc "tlhyph"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
40: goto 46
41: StackMap locals:
StackMap stack:
aload 0
ldc "tlul"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
42: goto 46
43: StackMap locals:
StackMap stack:
aload 0
ldc "tlth"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
44: goto 46
45: StackMap locals:
StackMap stack:
aload 0
ldc "tleq"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
46: StackMap locals:
StackMap stack:
ldc 20.0
aload 10
invokevirtual javax.swing.text.TabStop.getPosition:()F
fmul
invokestatic java.lang.Math.round:(F)I
istore 11
start local 11 47: aload 10
invokevirtual javax.swing.text.TabStop.getAlignment:()I
iconst_5
if_icmpne 50
48: aload 0
ldc "tb"
iload 11
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
49: goto 51
50: StackMap locals: int
StackMap stack:
aload 0
ldc "tx"
iload 11
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 11 end local 10 51: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
52: iload 9
aload 8
arraylength
if_icmplt 27
53: aload 1
ldc "tabs"
aload 8
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 9 end local 8 54: StackMap locals:
StackMap stack:
return
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 55 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 55 1 current Ljavax/swing/text/MutableAttributeSet;
0 55 2 newAttributes Ljavax/swing/text/AttributeSet;
0 55 3 emitStyleChanges Z
2 8 4 oldStyle Ljava/lang/Object;
9 55 4 oldStyle Ljava/lang/Object;
3 8 5 newStyle Ljava/lang/Object;
10 55 5 newStyle Ljava/lang/Object;
11 55 6 oldTabs Ljava/lang/Object;
12 55 7 newTabs Ljava/lang/Object;
25 54 8 tabs [Ljavax/swing/text/TabStop;
26 54 9 index I
28 51 10 tab Ljavax/swing/text/TabStop;
47 51 11 twips I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
current
newAttributes
emitStyleChanges
public void writeParagraphElement(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputAttributes:Ljavax/swing/text/MutableAttributeSet;
aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
iconst_1
invokevirtual javax.swing.text.rtf.RTFGenerator.updateParagraphAttributes:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
1: aload 1
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeTextElement:(Ljavax/swing/text/Element;)V
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
ldc "par"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
8: aload 0
invokevirtual javax.swing.text.rtf.RTFGenerator.writeLineBreak:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 10 1 el Ljavax/swing/text/Element;
2 10 2 sub_count I
3 7 3 idx I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
el
protected void resetParagraphAttributes(javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/MutableAttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "pard"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
1: aload 1
getstatic javax.swing.text.StyleConstants.Alignment:Ljava/lang/Object;
getstatic javax.swing.text.rtf.RTFGenerator.Zero:Ljava/lang/Integer;
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
2: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
arraylength
istore 3
start local 3 3: iconst_0
istore 2
start local 2 4: goto 9
5: StackMap locals: int int
StackMap stack:
getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iload 2
aaload
astore 4
start local 4 6: aload 4
invokeinterface javax.swing.text.rtf.RTFAttribute.domain:()I
iconst_1
if_icmpne 8
7: aload 4
aload 1
invokeinterface javax.swing.text.rtf.RTFAttribute.setDefault:(Ljavax/swing/text/MutableAttributeSet;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
iload 3
if_icmplt 5
10: aload 1
ldc "paragraphStyle"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
11: aload 1
ldc "tabs"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 13 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
4 13 2 wordIndex I
3 13 3 wordCount I
6 8 4 attr Ljavax/swing/text/rtf/RTFAttribute;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
void updateCharacterAttributes(javax.swing.text.MutableAttributeSet, javax.swing.text.AttributeSet, boolean);
descriptor: (Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
flags: (0x0000)
Code:
stack=7, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 13
1: aload 1
ldc "characterStyle"
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 0
aload 2
3: ldc "character"
4: invokevirtual javax.swing.text.rtf.RTFGenerator.findStyleNumber:(Ljavax/swing/text/AttributeSet;Ljava/lang/String;)Ljava/lang/Integer;
astore 6
start local 6 5: aload 5
aload 6
if_acmpeq 13
6: aload 5
ifnull 8
7: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.resetCharacterAttributes:(Ljavax/swing/text/MutableAttributeSet;)V
8: StackMap locals: javax.swing.text.rtf.RTFGenerator javax.swing.text.MutableAttributeSet javax.swing.text.AttributeSet int top java.lang.Object java.lang.Object
StackMap stack:
aload 6
ifnull 12
9: aload 0
ldc "cs"
aload 6
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
10: aload 1
ldc "characterStyle"
aload 6
invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
ldc "characterStyle"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
end local 6 end local 5 13: StackMap locals: javax.swing.text.rtf.RTFGenerator javax.swing.text.MutableAttributeSet javax.swing.text.AttributeSet int
StackMap stack:
aload 1
aload 2
14: getstatic javax.swing.text.StyleConstants.FontFamily:Ljava/lang/Object;
aconst_null
15: invokestatic javax.swing.text.rtf.RTFGenerator.attrDiff:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 4
start local 4 16: ifnull 19
17: aload 0
getfield javax.swing.text.rtf.RTFGenerator.fontTable:Ljava/util/Dictionary;
aload 4
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
astore 5
start local 5 18: aload 0
ldc "f"
aload 5
invokevirtual java.lang.Number.intValue:()I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 5 19: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
aload 2
20: getstatic javax.swing.text.StyleConstants.FontSize:Ljava/lang/Object;
ldc "fs"
21: ldc 12.0
fconst_2
22: invokevirtual javax.swing.text.rtf.RTFGenerator.checkNumericControlWord:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/String;FF)V
23: aload 0
aload 1
aload 2
24: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iconst_0
25: invokevirtual javax.swing.text.rtf.RTFGenerator.checkControlWords:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;[Ljavax/swing/text/rtf/RTFAttribute;I)V
26: aload 0
aload 1
aload 2
27: getstatic javax.swing.text.StyleConstants.LineSpacing:Ljava/lang/Object;
ldc "sl"
28: fconst_0
ldc 20.0
29: invokevirtual javax.swing.text.rtf.RTFGenerator.checkNumericControlWord:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/String;FF)V
30: aload 1
aload 2
31: getstatic javax.swing.text.StyleConstants.Background:Ljava/lang/Object;
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
32: invokestatic javax.swing.text.rtf.RTFGenerator.attrDiff:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 4
ifnull 38
33: aload 4
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
if_acmpne 36
34: iconst_0
istore 5
start local 5 35: goto 37
end local 5 36: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 4
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
istore 5
start local 5 37: StackMap locals: int
StackMap stack:
aload 0
ldc "cb"
iload 5
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 5 38: StackMap locals:
StackMap stack:
aload 1
aload 2
39: getstatic javax.swing.text.StyleConstants.Foreground:Ljava/lang/Object;
aconst_null
40: invokestatic javax.swing.text.rtf.RTFGenerator.attrDiff:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
dup
astore 4
ifnull 46
41: aload 4
getstatic javax.swing.text.rtf.RTFGenerator.MagicToken:Ljava/lang/Object;
if_acmpne 44
42: iconst_0
istore 5
start local 5 43: goto 45
end local 5 44: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.colorTable:Ljava/util/Dictionary;
aload 4
invokevirtual java.util.Dictionary.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.intValue:()I
istore 5
start local 5 45: StackMap locals: int
StackMap stack:
aload 0
ldc "cf"
iload 5
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
end local 5 46: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 47 1 current Ljavax/swing/text/MutableAttributeSet;
0 47 2 newAttributes Ljavax/swing/text/AttributeSet;
0 47 3 updateStyleChanges Z
16 47 4 parm Ljava/lang/Object;
2 13 5 oldStyle Ljava/lang/Object;
5 13 6 newStyle Ljava/lang/Object;
18 19 5 fontNum Ljava/lang/Number;
35 36 5 colorNum I
37 38 5 colorNum I
43 44 5 colorNum I
45 46 5 colorNum I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
current
newAttributes
updateStyleChanges
protected void resetCharacterAttributes(javax.swing.text.MutableAttributeSet);
descriptor: (Ljavax/swing/text/MutableAttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "plain"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
1: getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
arraylength
istore 3
start local 3 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: int int
StackMap stack:
getstatic javax.swing.text.rtf.RTFAttributes.attributes:[Ljavax/swing/text/rtf/RTFAttribute;
iload 2
aaload
astore 4
start local 4 5: aload 4
invokeinterface javax.swing.text.rtf.RTFAttribute.domain:()I
ifne 7
6: aload 4
aload 1
invokeinterface javax.swing.text.rtf.RTFAttribute.setDefault:(Ljavax/swing/text/MutableAttributeSet;)Z
pop
end local 4 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 4
9: aload 1
ldc "Helvetica"
invokestatic javax.swing.text.StyleConstants.setFontFamily:(Ljavax/swing/text/MutableAttributeSet;Ljava/lang/String;)V
10: aload 1
getstatic javax.swing.text.StyleConstants.FontSize:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
11: aload 1
getstatic javax.swing.text.StyleConstants.Background:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
12: aload 1
getstatic javax.swing.text.StyleConstants.Foreground:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
13: aload 1
getstatic javax.swing.text.StyleConstants.LineSpacing:Ljava/lang/Object;
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
14: aload 1
ldc "characterStyle"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 16 1 currentAttributes Ljavax/swing/text/MutableAttributeSet;
3 16 2 wordIndex I
2 16 3 wordCount I
5 7 4 attr Ljavax/swing/text/rtf/RTFAttribute;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
currentAttributes
public void writeTextElement(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputAttributes:Ljavax/swing/text/MutableAttributeSet;
aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
iconst_1
invokevirtual javax.swing.text.rtf.RTFGenerator.updateCharacterAttributes:(Ljavax/swing/text/MutableAttributeSet;Ljavax/swing/text/AttributeSet;Z)V
1: aload 1
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 12
2: aload 1
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
3: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
4: aload 0
getfield javax.swing.text.rtf.RTFGenerator.workingSegment:Ljavax/swing/text/Segment;
5: invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
6: goto 10
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
7: astore 2
start local 2 8: aload 2
invokevirtual javax.swing.text.BadLocationException.printStackTrace:()V
9: new java.lang.InternalError
dup
aload 2
invokevirtual javax.swing.text.BadLocationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.rtf.RTFGenerator.workingSegment:Ljavax/swing/text/Segment;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeText:(Ljavax/swing/text/Segment;)V
11: goto 18
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 2
start local 2 13: iconst_0
istore 3
start local 3 14: goto 17
15: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeTextElement:(Ljavax/swing/text/Element;)V
16: iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
iload 2
if_icmplt 15
end local 3 end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 19 1 el Ljavax/swing/text/Element;
8 10 2 ble Ljavax/swing/text/BadLocationException;
13 18 2 sub_count I
14 18 3 idx I
Exception table:
from to target type
2 6 7 Class javax.swing.text.BadLocationException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
el
public void writeText(javax.swing.text.Segment);
descriptor: (Ljavax/swing/text/Segment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield javax.swing.text.Segment.offset:I
istore 2
start local 2 1: iload 2
aload 1
getfield javax.swing.text.Segment.count:I
iadd
istore 3
start local 3 2: aload 1
getfield javax.swing.text.Segment.array:[C
astore 4
start local 4 3: goto 6
4: StackMap locals: int int char[]
StackMap stack:
aload 0
aload 4
iload 2
caload
invokevirtual javax.swing.text.rtf.RTFGenerator.writeCharacter:(C)V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 4
7: return
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 Ljavax/swing/text/rtf/RTFGenerator;
0 8 1 s Ljavax/swing/text/Segment;
1 8 2 pos I
2 8 3 end I
3 8 4 array [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual javax.swing.text.rtf.RTFGenerator.writeCharacter:(C)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 3
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 7 1 s Ljava/lang/String;
1 7 2 pos I
2 7 3 end I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public void writeRawString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.io.OutputStream.write:(I)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 7 1 str Ljava/lang/String;
1 7 2 strlen I
2 6 3 offset I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
public void writeControlWord(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
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 92
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
2: aload 0
iconst_1
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 4 1 keyword Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
public void writeControlWord(java.lang.String, int);
descriptor: (Ljava/lang/String;I)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
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 92
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
aload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
2: aload 0
iload 2
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
3: aload 0
iconst_1
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 5 1 keyword Ljava/lang/String;
0 5 2 arg I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
keyword
arg
public void writeBegingroup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 123
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/rtf/RTFGenerator;
Exceptions:
throws java.io.IOException
public void writeEndgroup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 125
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/rtf/RTFGenerator;
Exceptions:
throws java.io.IOException
public void writeCharacter(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iload 1
sipush 160
if_icmpne 5
1: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 92
invokevirtual java.io.OutputStream.write:(I)V
2: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 126
invokevirtual java.io.OutputStream.write:(I)V
3: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
4: return
5: StackMap locals:
StackMap stack:
iload 1
bipush 9
if_icmpne 8
6: aload 0
ldc "tab"
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
7: return
8: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpeq 9
iload 1
bipush 13
if_icmpne 10
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputConversion:[I
iload 1
invokestatic javax.swing.text.rtf.RTFGenerator.convertCharacter:([IC)I
istore 2
start local 2 11: iload 2
ifne 28
12: iconst_0
istore 3
start local 3 13: goto 18
14: StackMap locals: int int
StackMap stack:
getstatic javax.swing.text.rtf.RTFGenerator.textKeywords:[Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
iload 3
aaload
getfield javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.character:C
iload 1
if_icmpne 17
15: aload 0
getstatic javax.swing.text.rtf.RTFGenerator.textKeywords:[Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
iload 3
aaload
getfield javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair.keyword:Ljava/lang/String;
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;)V
16: return
17: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
getstatic javax.swing.text.rtf.RTFGenerator.textKeywords:[Ljavax/swing/text/rtf/RTFGenerator$CharacterKeywordPair;
arraylength
if_icmplt 14
19: aload 0
iload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.approximationForUnicode:(C)Ljava/lang/String;
astore 4
start local 4 20: aload 4
invokevirtual java.lang.String.length:()I
aload 0
getfield javax.swing.text.rtf.RTFGenerator.unicodeCount:I
if_icmpeq 23
21: aload 0
aload 4
invokevirtual java.lang.String.length:()I
putfield javax.swing.text.rtf.RTFGenerator.unicodeCount:I
22: aload 0
ldc "uc"
aload 0
getfield javax.swing.text.rtf.RTFGenerator.unicodeCount:I
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
23: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "u"
iload 1
invokevirtual javax.swing.text.rtf.RTFGenerator.writeControlWord:(Ljava/lang/String;I)V
24: aload 0
ldc " "
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
25: aload 0
aload 4
invokevirtual javax.swing.text.rtf.RTFGenerator.writeRawString:(Ljava/lang/String;)V
26: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
27: return
end local 4 end local 3 28: StackMap locals:
StackMap stack:
iload 2
bipush 127
if_icmple 37
29: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 92
invokevirtual java.io.OutputStream.write:(I)V
30: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 39
invokevirtual java.io.OutputStream.write:(I)V
31: iload 2
sipush 240
iand
iconst_4
iushr
istore 3
start local 3 32: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
getstatic javax.swing.text.rtf.RTFGenerator.hexdigits:[C
iload 3
caload
invokevirtual java.io.OutputStream.write:(I)V
33: iload 2
bipush 15
iand
istore 3
34: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
getstatic javax.swing.text.rtf.RTFGenerator.hexdigits:[C
iload 3
caload
invokevirtual java.io.OutputStream.write:(I)V
35: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
36: return
end local 3 37: StackMap locals:
StackMap stack:
iload 2
lookupswitch { // 3
92: 38
123: 38
125: 38
default: 40
}
38: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 92
invokevirtual java.io.OutputStream.write:(I)V
39: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
40: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
ifeq 43
41: aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
bipush 32
invokevirtual java.io.OutputStream.write:(I)V
42: aload 0
iconst_0
putfield javax.swing.text.rtf.RTFGenerator.afterKeyword:Z
43: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.rtf.RTFGenerator.outputStream:Ljava/io/OutputStream;
iload 2
invokevirtual java.io.OutputStream.write:(I)V
44: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 45 1 ch C
11 45 2 b I
13 28 3 i I
20 28 4 approximation Ljava/lang/String;
32 37 3 nybble I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ch
java.lang.String approximationForUnicode(char);
descriptor: (C)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "?"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/rtf/RTFGenerator;
0 1 1 ch C
MethodParameters:
Name Flags
ch
static int[] outputConversionFromTranslationTable(char[]);
descriptor: ([C)[I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_2
aload 0
arraylength
imul
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int[] int
StackMap stack:
aload 1
iload 2
iconst_2
imul
aload 0
iload 2
caload
iastore
4: aload 1
iload 2
iconst_2
imul
iconst_1
iadd
iload 2
iastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
arraylength
if_icmplt 3
7: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 table [C
1 8 1 conversion [I
2 8 2 index I
MethodParameters:
Name Flags
table
static int[] outputConversionForName(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic javax.swing.text.rtf.RTFReader.getCharacterSet:(Ljava/lang/String;)Ljava/lang/Object;
checkcast char[]
astore 1
start local 1 1: aload 1
invokestatic javax.swing.text.rtf.RTFGenerator.outputConversionFromTranslationTable:([C)[I
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
1 2 1 table [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
protected static int convertCharacter(int[], char);
descriptor: ([IC)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
iaload
iload 1
if_icmpne 4
3: aload 0
iload 2
iconst_1
iadd
iaload
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 2
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 2
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 conversion [I
0 7 1 ch C
1 7 2 index I
MethodParameters:
Name Flags
conversion
ch
}
SourceFile: "RTFGenerator.java"
NestMembers:
javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair
InnerClasses:
CharacterKeywordPair = javax.swing.text.rtf.RTFGenerator$CharacterKeywordPair of javax.swing.text.rtf.RTFGenerator