public class javax.swing.JTextArea extends javax.swing.text.JTextComponent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JTextArea
super_class: javax.swing.text.JTextComponent
{
private static final java.lang.String uiClassID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "TextAreaUI"
private int rows;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int columns;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int columnWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int rowHeight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean wrap;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean word;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
iconst_0
iconst_0
invokespecial javax.swing.JTextArea.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
iconst_0
iconst_0
invokespecial javax.swing.JTextArea.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aconst_null
iload 1
iload 2
invokespecial javax.swing.JTextArea.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
0 2 1 rows I
0 2 2 columns I
MethodParameters:
Name Flags
rows
columns
public void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aconst_null
aload 1
iload 2
iload 3
invokespecial javax.swing.JTextArea.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
0 2 1 text Ljava/lang/String;
0 2 2 rows I
0 2 3 columns I
MethodParameters:
Name Flags
text
rows
columns
public void <init>(javax.swing.text.Document);
descriptor: (Ljavax/swing/text/Document;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
iconst_0
iconst_0
invokespecial javax.swing.JTextArea.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
0 2 1 doc Ljavax/swing/text/Document;
MethodParameters:
Name Flags
doc
public void <init>(javax.swing.text.Document, java.lang.String, int, int);
descriptor: (Ljavax/swing/text/Document;Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial javax.swing.text.JTextComponent.<init>:()V
1: aload 0
iload 3
putfield javax.swing.JTextArea.rows:I
2: aload 0
iload 4
putfield javax.swing.JTextArea.columns:I
3: aload 1
ifnonnull 5
4: aload 0
invokevirtual javax.swing.JTextArea.createDefaultModel:()Ljavax/swing/text/Document;
astore 1
5: StackMap locals: javax.swing.JTextArea javax.swing.text.Document java.lang.String int int
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.JTextArea.setDocument:(Ljavax/swing/text/Document;)V
6: aload 2
ifnull 9
7: aload 0
aload 2
invokevirtual javax.swing.JTextArea.setText:(Ljava/lang/String;)V
8: aload 0
iconst_0
iconst_0
invokevirtual javax.swing.JTextArea.select:(II)V
9: StackMap locals:
StackMap stack:
iload 3
ifge 11
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "rows: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
iload 4
ifge 13
12: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "columns: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
14: ldc "focusTraversalKeysForward"
15: invokestatic javax.swing.JComponent.getManagingFocusForwardTraversalKeys:()Ljava/util/Set;
16: invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
17: aload 0
18: ldc "focusTraversalKeysBackward"
19: invokestatic javax.swing.JComponent.getManagingFocusBackwardTraversalKeys:()Ljava/util/Set;
20: invokestatic javax.swing.LookAndFeel.installProperty:(Ljavax/swing/JComponent;Ljava/lang/String;Ljava/lang/Object;)V
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/JTextArea;
0 22 1 doc Ljavax/swing/text/Document;
0 22 2 text Ljava/lang/String;
0 22 3 rows I
0 22 4 columns I
MethodParameters:
Name Flags
doc
text
rows
columns
public java.lang.String getUIClassID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "TextAreaUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
protected javax.swing.text.Document createDefaultModel();
descriptor: ()Ljavax/swing/text/Document;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new javax.swing.text.PlainDocument
dup
invokespecial javax.swing.text.PlainDocument.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
public void setTabSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 0
invokevirtual javax.swing.JTextArea.getTabSize:()I
istore 3
start local 3 3: aload 2
ldc "tabSize"
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface javax.swing.text.Document.putProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
ldc "tabSize"
iload 3
iload 1
invokevirtual javax.swing.JTextArea.firePropertyChange:(Ljava/lang/String;II)V
end local 3 5: StackMap locals: javax.swing.text.Document
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JTextArea;
0 6 1 size I
1 6 2 doc Ljavax/swing/text/Document;
3 5 3 old I
MethodParameters:
Name Flags
size
public int getTabSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: bipush 8
istore 1
start local 1 1: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 2
ldc "tabSize"
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
invokevirtual java.lang.Integer.intValue:()I
istore 1
end local 3 6: StackMap locals: int javax.swing.text.Document
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JTextArea;
1 7 1 size I
2 7 2 doc Ljavax/swing/text/Document;
4 6 3 i Ljava/lang/Integer;
public void setLineWrap(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JTextArea.wrap:Z
istore 2
start local 2 1: aload 0
iload 1
putfield javax.swing.JTextArea.wrap:Z
2: aload 0
ldc "lineWrap"
iload 2
iload 1
invokevirtual javax.swing.JTextArea.firePropertyChange:(Ljava/lang/String;ZZ)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
0 4 1 wrap Z
1 4 2 old Z
MethodParameters:
Name Flags
wrap
public boolean getLineWrap();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.wrap:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
public void setWrapStyleWord(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JTextArea.word:Z
istore 2
start local 2 1: aload 0
iload 1
putfield javax.swing.JTextArea.word:Z
2: aload 0
ldc "wrapStyleWord"
iload 2
iload 1
invokevirtual javax.swing.JTextArea.firePropertyChange:(Ljava/lang/String;ZZ)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
0 4 1 word Z
1 4 2 old Z
MethodParameters:
Name Flags
word
public boolean getWrapStyleWord();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.word:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
public int getLineOfOffset(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: iload 1
ifge 3
2: new javax.swing.text.BadLocationException
dup
ldc "Can't translate offset to line"
iconst_m1
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
3: StackMap locals: javax.swing.text.Document
StackMap stack:
iload 1
aload 2
invokeinterface javax.swing.text.Document.getLength:()I
if_icmple 5
4: new javax.swing.text.BadLocationException
dup
ldc "Can't translate offset to line"
aload 2
invokeinterface javax.swing.text.Document.getLength:()I
iconst_1
iadd
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 3
start local 3 6: aload 3
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JTextArea;
0 7 1 offset I
1 7 2 doc Ljavax/swing/text/Document;
6 7 3 map Ljavax/swing/text/Element;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
offset
public int getLineCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 1
start local 1 1: aload 1
invokeinterface javax.swing.text.Element.getElementCount:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JTextArea;
1 2 1 map Ljavax/swing/text/Element;
public int getLineStartOffset(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JTextArea.getLineCount:()I
istore 2
start local 2 1: iload 1
ifge 3
2: new javax.swing.text.BadLocationException
dup
ldc "Negative line"
iconst_m1
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
iload 2
if_icmplt 5
4: new javax.swing.text.BadLocationException
dup
ldc "No such line"
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
iconst_1
iadd
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 3
start local 3 6: aload 3
iload 1
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 4
start local 4 7: aload 4
invokeinterface javax.swing.text.Element.getStartOffset:()I
ireturn
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/JTextArea;
0 8 1 line I
1 8 2 lineCount I
6 8 3 map Ljavax/swing/text/Element;
7 8 4 lineElem Ljavax/swing/text/Element;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
line
public int getLineEndOffset(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JTextArea.getLineCount:()I
istore 2
start local 2 1: iload 1
ifge 3
2: new javax.swing.text.BadLocationException
dup
ldc "Negative line"
iconst_m1
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
iload 2
if_icmplt 5
4: new javax.swing.text.BadLocationException
dup
ldc "No such line"
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
iconst_1
iadd
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 3
start local 3 6: aload 3
iload 1
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 4
start local 4 7: aload 4
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 5
start local 5 8: iload 1
iload 2
iconst_1
isub
if_icmpne 9
iload 5
iconst_1
isub
goto 10
StackMap locals: javax.swing.text.Element javax.swing.text.Element int
StackMap stack:
9: iload 5
StackMap locals:
StackMap stack: int
10: 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 11 0 this Ljavax/swing/JTextArea;
0 11 1 line I
1 11 2 lineCount I
6 11 3 map Ljavax/swing/text/Element;
7 11 4 lineElem Ljavax/swing/text/Element;
8 11 5 endOffset I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
line
public void insert(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 3
start local 3 1: aload 3
ifnull 6
2: aload 3
iload 2
aload 1
aconst_null
invokeinterface javax.swing.text.Document.insertString:(ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
3: goto 6
StackMap locals: javax.swing.JTextArea java.lang.String int javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
4: astore 4
start local 4 5: new java.lang.IllegalArgumentException
dup
aload 4
invokevirtual javax.swing.text.BadLocationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 6: StackMap locals:
StackMap stack:
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/JTextArea;
0 7 1 str Ljava/lang/String;
0 7 2 pos I
1 7 3 doc Ljavax/swing/text/Document;
5 6 4 e Ljavax/swing/text/BadLocationException;
Exception table:
from to target type
2 3 4 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
str
pos
public void append(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 2
aload 2
invokeinterface javax.swing.text.Document.getLength:()I
aload 1
aconst_null
invokeinterface javax.swing.text.Document.insertString:(ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
3: goto 5
StackMap locals: javax.swing.JTextArea java.lang.String javax.swing.text.Document
StackMap stack: javax.swing.text.BadLocationException
4: pop
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JTextArea;
0 6 1 str Ljava/lang/String;
1 6 2 doc Ljavax/swing/text/Document;
Exception table:
from to target type
2 3 4 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
str
public void replaceRange(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iload 2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "end before start"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 3: aload 4
ifnull 14
4: aload 4
instanceof javax.swing.text.AbstractDocument
ifeq 9
5: aload 4
checkcast javax.swing.text.AbstractDocument
iload 2
iload 3
iload 2
isub
aload 1
6: aconst_null
7: invokevirtual javax.swing.text.AbstractDocument.replace:(IILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
8: goto 14
9: StackMap locals: javax.swing.text.Document
StackMap stack:
aload 4
iload 2
iload 3
iload 2
isub
invokeinterface javax.swing.text.Document.remove:(II)V
10: aload 4
iload 2
aload 1
aconst_null
invokeinterface javax.swing.text.Document.insertString:(ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
11: goto 14
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
12: astore 5
start local 5 13: new java.lang.IllegalArgumentException
dup
aload 5
invokevirtual javax.swing.text.BadLocationException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 14: 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 15 0 this Ljavax/swing/JTextArea;
0 15 1 str Ljava/lang/String;
0 15 2 start I
0 15 3 end I
3 15 4 doc Ljavax/swing/text/Document;
13 14 5 e Ljavax/swing/text/BadLocationException;
Exception table:
from to target type
4 11 12 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
str
start
end
public int getRows();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.rows:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
public void setRows(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JTextArea.rows:I
istore 2
start local 2 1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "rows less than zero."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
iload 2
if_icmpeq 6
4: aload 0
iload 1
putfield javax.swing.JTextArea.rows:I
5: aload 0
invokevirtual javax.swing.JTextArea.invalidate:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JTextArea;
0 7 1 rows I
1 7 2 oldVal I
MethodParameters:
Name Flags
rows
protected int getRowHeight();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.rowHeight:I
ifne 3
1: aload 0
aload 0
invokevirtual javax.swing.JTextArea.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JTextArea.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield javax.swing.JTextArea.rowHeight:I
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTextArea.rowHeight:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
2 3 1 metrics Ljava/awt/FontMetrics;
public int getColumns();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.columns:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTextArea;
public void setColumns(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.JTextArea.columns:I
istore 2
start local 2 1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "columns less than zero."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
iload 2
if_icmpeq 6
4: aload 0
iload 1
putfield javax.swing.JTextArea.columns:I
5: aload 0
invokevirtual javax.swing.JTextArea.invalidate:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JTextArea;
0 7 1 columns I
1 7 2 oldVal I
MethodParameters:
Name Flags
columns
protected int getColumnWidth();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.columnWidth:I
ifne 3
1: aload 0
aload 0
invokevirtual javax.swing.JTextArea.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JTextArea.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 2: aload 0
aload 1
bipush 109
invokevirtual java.awt.FontMetrics.charWidth:(C)I
putfield javax.swing.JTextArea.columnWidth:I
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTextArea.columnWidth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
2 3 1 metrics Ljava/awt/FontMetrics;
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.JTextComponent.getPreferredSize:()Ljava/awt/Dimension;
astore 1
start local 1 1: aload 1
ifnonnull 2
new java.awt.Dimension
dup
sipush 400
sipush 400
invokespecial java.awt.Dimension.<init>:(II)V
goto 3
StackMap locals: java.awt.Dimension
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.awt.Dimension
3: astore 1
4: aload 0
invokevirtual javax.swing.JTextArea.getInsets:()Ljava/awt/Insets;
astore 2
start local 2 5: aload 0
getfield javax.swing.JTextArea.columns:I
ifeq 9
6: aload 1
aload 1
getfield java.awt.Dimension.width:I
aload 0
getfield javax.swing.JTextArea.columns:I
aload 0
invokevirtual javax.swing.JTextArea.getColumnWidth:()I
imul
7: aload 2
getfield java.awt.Insets.left:I
iadd
aload 2
getfield java.awt.Insets.right:I
iadd
8: invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.width:I
9: StackMap locals: java.awt.Insets
StackMap stack:
aload 0
getfield javax.swing.JTextArea.rows:I
ifeq 13
10: aload 1
aload 1
getfield java.awt.Dimension.height:I
aload 0
getfield javax.swing.JTextArea.rows:I
aload 0
invokevirtual javax.swing.JTextArea.getRowHeight:()I
imul
11: aload 2
getfield java.awt.Insets.top:I
iadd
aload 2
getfield java.awt.Insets.bottom:I
iadd
12: invokestatic java.lang.Math.max:(II)I
putfield java.awt.Dimension.height:I
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/JTextArea;
1 14 1 d Ljava/awt/Dimension;
5 14 2 insets Ljava/awt/Insets;
public void setFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.JTextComponent.setFont:(Ljava/awt/Font;)V
1: aload 0
iconst_0
putfield javax.swing.JTextArea.rowHeight:I
2: aload 0
iconst_0
putfield javax.swing.JTextArea.columnWidth:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
0 4 1 f Ljava/awt/Font;
MethodParameters:
Name Flags
f
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.wrap:Z
ifeq 2
1: ldc "true"
goto 3
StackMap locals:
StackMap stack:
2: ldc "false"
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
getfield javax.swing.JTextArea.word:Z
ifeq 6
5: ldc "true"
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: ldc "false"
7: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 8: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.text.JTextComponent.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: ldc ",colums="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.JTextArea.columns:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
10: ldc ",columWidth="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.JTextArea.columnWidth:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
11: ldc ",rows="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.JTextArea.rows:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc ",rowHeight="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.JTextArea.rowHeight:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
13: ldc ",word="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc ",wrap="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/JTextArea;
4 16 1 wrapString Ljava/lang/String;
8 16 2 wordString Ljava/lang/String;
public boolean getScrollableTracksViewportWidth();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.wrap:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokespecial javax.swing.text.JTextComponent.getScrollableTracksViewportWidth:()Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JTextArea;
public java.awt.Dimension getPreferredScrollableViewportSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.text.JTextComponent.getPreferredScrollableViewportSize:()Ljava/awt/Dimension;
astore 1
start local 1 1: aload 1
ifnonnull 2
new java.awt.Dimension
dup
sipush 400
sipush 400
invokespecial java.awt.Dimension.<init>:(II)V
goto 3
StackMap locals: java.awt.Dimension
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.awt.Dimension
3: astore 1
4: aload 0
invokevirtual javax.swing.JTextArea.getInsets:()Ljava/awt/Insets;
astore 2
start local 2 5: aload 1
aload 0
getfield javax.swing.JTextArea.columns:I
ifne 6
aload 1
getfield java.awt.Dimension.width:I
goto 7
6: StackMap locals: javax.swing.JTextArea java.awt.Dimension java.awt.Insets
StackMap stack: java.awt.Dimension
aload 0
getfield javax.swing.JTextArea.columns:I
aload 0
invokevirtual javax.swing.JTextArea.getColumnWidth:()I
imul
aload 2
getfield java.awt.Insets.left:I
iadd
aload 2
getfield java.awt.Insets.right:I
iadd
7: StackMap locals: javax.swing.JTextArea java.awt.Dimension java.awt.Insets
StackMap stack: java.awt.Dimension int
putfield java.awt.Dimension.width:I
8: aload 1
aload 0
getfield javax.swing.JTextArea.rows:I
ifne 9
aload 1
getfield java.awt.Dimension.height:I
goto 10
9: StackMap locals:
StackMap stack: java.awt.Dimension
aload 0
getfield javax.swing.JTextArea.rows:I
aload 0
invokevirtual javax.swing.JTextArea.getRowHeight:()I
imul
aload 2
getfield java.awt.Insets.top:I
iadd
aload 2
getfield java.awt.Insets.bottom:I
iadd
10: StackMap locals: javax.swing.JTextArea java.awt.Dimension java.awt.Insets
StackMap stack: java.awt.Dimension int
putfield java.awt.Dimension.height:I
11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/JTextArea;
1 12 1 size Ljava/awt/Dimension;
5 12 2 insets Ljava/awt/Insets;
public int getScrollableUnitIncrement(java.awt.Rectangle, int, int);
descriptor: (Ljava/awt/Rectangle;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
tableswitch { // 0 - 1
0: 2
1: 1
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getRowHeight:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.JTextArea.getColumnWidth:()I
ireturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid orientation: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JTextArea;
0 4 1 visibleRect Ljava/awt/Rectangle;
0 4 2 orientation I
0 4 3 direction I
MethodParameters:
Name Flags
visibleRect
orientation
direction
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
invokevirtual javax.swing.JTextArea.getUIClassID:()Ljava/lang/String;
ldc "TextAreaUI"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
2: aload 0
invokestatic javax.swing.JComponent.getWriteObjCounter:(Ljavax/swing/JComponent;)B
istore 2
start local 2 3: aload 0
iload 2
iconst_1
isub
i2b
dup
istore 2
invokestatic javax.swing.JComponent.setWriteObjCounter:(Ljavax/swing/JComponent;B)V
4: iload 2
ifne 6
aload 0
getfield javax.swing.JTextArea.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 6
5: aload 0
getfield javax.swing.JTextArea.ui:Ljavax/swing/plaf/ComponentUI;
aload 0
invokevirtual javax.swing.plaf.ComponentUI.installUI:(Ljavax/swing/JComponent;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/JTextArea;
0 7 1 s Ljava/io/ObjectOutputStream;
3 6 2 count B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public javax.accessibility.AccessibleContext getAccessibleContext();
descriptor: ()Ljavax/accessibility/AccessibleContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JTextArea.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JTextArea$AccessibleJTextArea
dup
aload 0
invokespecial javax.swing.JTextArea$AccessibleJTextArea.<init>:(Ljavax/swing/JTextArea;)V
putfield javax.swing.JTextArea.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTextArea.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JTextArea;
}
SourceFile: "JTextArea.java"
NestMembers:
javax.swing.JTextArea$AccessibleJTextArea
InnerClasses:
protected AccessibleJTextArea = javax.swing.JTextArea$AccessibleJTextArea of javax.swing.JTextArea