final class sun.lwawt.LWTextAreaPeer extends sun.lwawt.LWTextComponentPeer<java.awt.TextArea, sun.lwawt.LWTextAreaPeer$ScrollableJTextArea> implements java.awt.peer.TextAreaPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWTextAreaPeer
super_class: sun.lwawt.LWTextComponentPeer
{
private static final int DEFAULT_COLUMNS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60
private static final int DEFAULT_ROWS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
void <init>(java.awt.TextArea, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/TextArea;Lsun/lwawt/PlatformComponent;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.lwawt.LWTextComponentPeer.<init>:(Ljava/awt/TextComponent;Lsun/lwawt/PlatformComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWTextAreaPeer;
0 2 1 target Ljava/awt/TextArea;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
sun.lwawt.LWTextAreaPeer$ScrollableJTextArea createDelegate();
descriptor: ()Lsun/lwawt/LWTextAreaPeer$ScrollableJTextArea;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
dup
aload 0
invokespecial sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.<init>:(Lsun/lwawt/LWTextAreaPeer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWTextComponentPeer.initializeImpl:()V
1: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.TextArea
invokevirtual java.awt.TextArea.getScrollbarVisibility:()I
istore 1
start local 1 2: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
3: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTextComponent:()Ljavax/swing/JTextArea;
iconst_1
invokevirtual javax.swing.JTextArea.setWrapStyleWord:(Z)V
4: aload 0
iload 1
invokevirtual sun.lwawt.LWTextAreaPeer.setScrollBarVisibility:(I)V
5: aload 2
monitorexit
6: goto 9
StackMap locals: sun.lwawt.LWTextAreaPeer int java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/lwawt/LWTextAreaPeer;
2 10 1 visibility I
Exception table:
from to target type
3 6 7 any
7 8 7 any
javax.swing.JTextArea getTextComponent();
descriptor: ()Ljavax/swing/JTextArea;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getView:()Ljavax/swing/JTextArea;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
java.awt.Cursor getCursor(java.awt.Point);
descriptor: (Ljava/awt/Point;)Ljava/awt/Cursor;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getViewport:()Ljavax/swing/JViewport;
invokevirtual javax.swing.JViewport.getBounds:()Ljava/awt/Rectangle;
aload 1
invokevirtual java.awt.Rectangle.contains:(Ljava/awt/Point;)Z
istore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: sun.lwawt.LWTextAreaPeer java.awt.Point top java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: sun.lwawt.LWTextAreaPeer java.awt.Point int
StackMap stack:
iload 2
ifeq 7
aload 0
aload 1
invokespecial sun.lwawt.LWTextComponentPeer.getCursor:(Ljava/awt/Point;)Ljava/awt/Cursor;
goto 8
StackMap locals:
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: java.awt.Cursor
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/LWTextAreaPeer;
0 9 1 p Ljava/awt/Point;
2 4 2 isContains Z
6 9 2 isContains Z
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
p final
java.awt.Component getDelegateFocusOwner();
descriptor: ()Ljava/awt/Component;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTextComponent:()Ljavax/swing/JTextArea;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
public java.awt.Dimension getPreferredSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
bipush 60
invokevirtual sun.lwawt.LWTextAreaPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
public java.awt.Dimension getPreferredSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual sun.lwawt.LWTextAreaPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextAreaPeer;
0 1 1 rows I
0 1 2 columns I
MethodParameters:
Name Flags
rows final
columns final
public java.awt.Dimension getMinimumSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial sun.lwawt.LWTextComponentPeer.getMinimumSize:(II)Ljava/awt/Dimension;
astore 3
start local 3 1: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
2: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getInsets:()Ljava/awt/Insets;
astore 5
start local 5 3: aload 3
dup
getfield java.awt.Dimension.width:I
aload 5
getfield java.awt.Insets.left:I
aload 5
getfield java.awt.Insets.right:I
iadd
iadd
putfield java.awt.Dimension.width:I
4: aload 3
dup
getfield java.awt.Dimension.height:I
aload 5
getfield java.awt.Insets.top:I
aload 5
getfield java.awt.Insets.bottom:I
iadd
iadd
putfield java.awt.Dimension.height:I
5: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getVerticalScrollBarPolicy:()I
istore 6
start local 6 6: iload 6
bipush 22
if_icmpne 11
7: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
astore 7
start local 7 8: aload 3
dup
getfield java.awt.Dimension.width:I
aload 7
ifnull 9
aload 7
invokevirtual javax.swing.JScrollBar.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.width:I
goto 10
StackMap locals: sun.lwawt.LWTextAreaPeer int int java.awt.Dimension java.lang.Object java.awt.Insets int javax.swing.JScrollBar
StackMap stack: java.awt.Dimension int
9: iconst_0
StackMap locals: sun.lwawt.LWTextAreaPeer int int java.awt.Dimension java.lang.Object java.awt.Insets int javax.swing.JScrollBar
StackMap stack: java.awt.Dimension int int
10: iadd
putfield java.awt.Dimension.width:I
end local 7 11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getHorizontalScrollBarPolicy:()I
istore 7
start local 7 12: iload 7
bipush 32
if_icmpne 17
13: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getHorizontalScrollBar:()Ljavax/swing/JScrollBar;
astore 8
start local 8 14: aload 3
dup
getfield java.awt.Dimension.height:I
aload 8
ifnull 15
aload 8
invokevirtual javax.swing.JScrollBar.getMinimumSize:()Ljava/awt/Dimension;
getfield java.awt.Dimension.height:I
goto 16
StackMap locals: sun.lwawt.LWTextAreaPeer int int java.awt.Dimension java.lang.Object java.awt.Insets int int javax.swing.JScrollBar
StackMap stack: java.awt.Dimension int
15: iconst_0
StackMap locals: sun.lwawt.LWTextAreaPeer int int java.awt.Dimension java.lang.Object java.awt.Insets int int javax.swing.JScrollBar
StackMap stack: java.awt.Dimension int int
16: iadd
putfield java.awt.Dimension.height:I
end local 8 end local 7 end local 6 end local 5 17: StackMap locals: sun.lwawt.LWTextAreaPeer int int java.awt.Dimension java.lang.Object
StackMap stack:
aload 4
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 4
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/lwawt/LWTextAreaPeer;
0 22 1 rows I
0 22 2 columns I
1 22 3 size Ljava/awt/Dimension;
3 17 5 pi Ljava/awt/Insets;
6 17 6 vsbPolicy I
8 11 7 vbar Ljavax/swing/JScrollBar;
12 17 7 hsbPolicy I
14 17 8 hbar Ljavax/swing/JScrollBar;
Exception table:
from to target type
2 18 19 any
19 20 19 any
MethodParameters:
Name Flags
rows final
columns final
public void insert(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
astore 3
start local 3 1: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
2: aload 3
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getView:()Ljavax/swing/JTextArea;
astore 5
start local 5 3: iload 2
aload 5
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
if_icmplt 6
4: aload 5
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
ifeq 6
5: iconst_1
goto 7
StackMap locals: sun.lwawt.LWTextAreaPeer$ScrollableJTextArea java.lang.Object javax.swing.JTextArea
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: aload 5
aload 1
iload 2
invokevirtual javax.swing.JTextArea.insert:(Ljava/lang/String;I)V
9: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.revalidate:()V
10: iload 6
ifeq 14
11: aload 3
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getVerticalScrollBar:()Ljavax/swing/JScrollBar;
astore 7
start local 7 12: aload 7
ifnull 14
13: aload 7
aload 7
invokevirtual javax.swing.JScrollBar.getMaximum:()I
aload 7
invokevirtual javax.swing.JScrollBar.getVisibleAmount:()I
isub
invokevirtual javax.swing.JScrollBar.setValue:(I)V
end local 7 end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 4
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 4
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.repaintPeer:()V
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/lwawt/LWTextAreaPeer;
0 20 1 text Ljava/lang/String;
0 20 2 pos I
1 20 3 pane Lsun/lwawt/LWTextAreaPeer$ScrollableJTextArea;
3 14 5 area Ljavax/swing/JTextArea;
8 14 6 doScroll Z
12 14 7 vbar Ljavax/swing/JScrollBar;
Exception table:
from to target type
2 15 16 any
16 17 16 any
MethodParameters:
Name Flags
text final
pos final
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: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 4
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTextComponent:()Ljavax/swing/JTextArea;
invokevirtual javax.swing.JTextArea.getDocument:()Ljavax/swing/text/Document;
astore 5
start local 5 2: aload 5
aload 0
invokeinterface javax.swing.text.Document.removeDocumentListener:(Ljavax/swing/event/DocumentListener;)V
3: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTextComponent:()Ljavax/swing/JTextArea;
aload 1
iload 2
iload 3
invokevirtual javax.swing.JTextArea.replaceRange:(Ljava/lang/String;II)V
4: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.revalidate:()V
5: aload 0
new java.awt.event.TextEvent
dup
aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTarget:()Ljava/awt/Component;
sipush 900
invokespecial java.awt.event.TextEvent.<init>:(Ljava/lang/Object;I)V
invokevirtual sun.lwawt.LWTextAreaPeer.postEvent:(Ljava/awt/AWTEvent;)V
6: aload 5
aload 0
invokeinterface javax.swing.text.Document.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
end local 5 7: aload 4
monitorexit
8: goto 11
StackMap locals: sun.lwawt.LWTextAreaPeer java.lang.String int int java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 4
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.repaintPeer:()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 Lsun/lwawt/LWTextAreaPeer;
0 13 1 text Ljava/lang/String;
0 13 2 start I
0 13 3 end I
2 7 5 document Ljavax/swing/text/Document;
Exception table:
from to target type
1 8 9 any
9 10 9 any
MethodParameters:
Name Flags
text final
start final
end final
private void setScrollBarVisibility(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast sun.lwawt.LWTextAreaPeer$ScrollableJTextArea
astore 2
start local 2 1: aload 2
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.getView:()Ljavax/swing/JTextArea;
astore 3
start local 3 2: aload 3
iconst_0
invokevirtual javax.swing.JTextArea.setLineWrap:(Z)V
3: iload 1
tableswitch { // 1 - 3
1: 8
2: 12
3: 4
default: 15
}
4: StackMap locals: sun.lwawt.LWTextAreaPeer$ScrollableJTextArea javax.swing.JTextArea
StackMap stack:
aload 2
bipush 31
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setHorizontalScrollBarPolicy:(I)V
5: aload 2
bipush 21
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setVerticalScrollBarPolicy:(I)V
6: aload 3
iconst_1
invokevirtual javax.swing.JTextArea.setLineWrap:(Z)V
7: goto 17
8: StackMap locals:
StackMap stack:
aload 2
bipush 31
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setHorizontalScrollBarPolicy:(I)V
9: aload 2
bipush 22
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setVerticalScrollBarPolicy:(I)V
10: aload 3
iconst_1
invokevirtual javax.swing.JTextArea.setLineWrap:(Z)V
11: goto 17
12: StackMap locals:
StackMap stack:
aload 2
bipush 21
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setVerticalScrollBarPolicy:(I)V
13: aload 2
bipush 32
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setHorizontalScrollBarPolicy:(I)V
14: goto 17
15: StackMap locals:
StackMap stack:
aload 2
bipush 32
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setHorizontalScrollBarPolicy:(I)V
16: aload 2
bipush 22
invokevirtual sun.lwawt.LWTextAreaPeer$ScrollableJTextArea.setVerticalScrollBarPolicy:(I)V
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/lwawt/LWTextAreaPeer;
0 18 1 visibility I
1 18 2 pane Lsun/lwawt/LWTextAreaPeer$ScrollableJTextArea;
2 18 3 view Ljavax/swing/JTextArea;
MethodParameters:
Name Flags
visibility final
javax.swing.text.JTextComponent getTextComponent();
descriptor: ()Ljavax/swing/text/JTextComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.getTextComponent:()Ljavax/swing/JTextArea;
areturn
LocalVariableTable:
Start End Slot Name Signature
javax.swing.JComponent createDelegate();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWTextAreaPeer.createDelegate:()Lsun/lwawt/LWTextAreaPeer$ScrollableJTextArea;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWTextComponentPeer<Ljava/awt/TextArea;Lsun/lwawt/LWTextAreaPeer$ScrollableJTextArea;>;Ljava/awt/peer/TextAreaPeer;
SourceFile: "LWTextAreaPeer.java"
NestMembers:
sun.lwawt.LWTextAreaPeer$ScrollableJTextArea sun.lwawt.LWTextAreaPeer$ScrollableJTextArea$JTextAreaDelegate
InnerClasses:
final ScrollableJTextArea = sun.lwawt.LWTextAreaPeer$ScrollableJTextArea of sun.lwawt.LWTextAreaPeer