public class java.awt.TextComponent extends java.awt.Component implements javax.accessibility.Accessible
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.TextComponent
super_class: java.awt.Component
{
java.lang.String text;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean editable;
descriptor: Z
flags: (0x0000)
int selectionStart;
descriptor: I
flags: (0x0000)
int selectionEnd;
descriptor: I
flags: (0x0000)
boolean backgroundSetByClientCode;
descriptor: Z
flags: (0x0000)
protected transient java.awt.event.TextListener textListener;
descriptor: Ljava/awt/event/TextListener;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2214773872412987419
private int textComponentSerializedDataVersion;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean checkForEnableIM;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.awt.Component.<init>:()V
1: aload 0
iconst_1
putfield java.awt.TextComponent.editable:Z
2: aload 0
iconst_0
putfield java.awt.TextComponent.backgroundSetByClientCode:Z
3: aload 0
iconst_1
putfield java.awt.TextComponent.textComponentSerializedDataVersion:I
4: aload 0
iconst_1
putfield java.awt.TextComponent.checkForEnableIM:Z
5: invokestatic java.awt.GraphicsEnvironment.checkHeadless:()V
6: aload 0
aload 1
ifnull 7
aload 1
goto 8
StackMap locals: java.awt.TextComponent java.lang.String
StackMap stack: java.awt.TextComponent
7: ldc ""
StackMap locals: java.awt.TextComponent java.lang.String
StackMap stack: java.awt.TextComponent java.lang.String
8: putfield java.awt.TextComponent.text:Ljava/lang/String;
9: aload 0
iconst_2
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
invokevirtual java.awt.TextComponent.setCursor:(Ljava/awt/Cursor;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/TextComponent;
0 11 1 text Ljava/lang/String;
Exceptions:
throws java.awt.HeadlessException
MethodParameters:
Name Flags
text
private void enableInputMethodsIfNecessary();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.checkForEnableIM:Z
ifeq 11
1: aload 0
iconst_0
putfield java.awt.TextComponent.checkForEnableIM:Z
2: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: aload 1
instanceof sun.awt.InputMethodSupport
ifeq 8
5: aload 1
checkcast sun.awt.InputMethodSupport
6: invokeinterface sun.awt.InputMethodSupport.enableInputMethodsForTextComponent:()Z
7: istore 2
8: StackMap locals: java.awt.Toolkit int
StackMap stack:
aload 0
iload 2
invokevirtual java.awt.TextComponent.enableInputMethods:(Z)V
end local 2 end local 1 9: goto 11
StackMap locals: java.awt.TextComponent
StackMap stack: java.lang.Exception
10: pop
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/TextComponent;
3 9 1 toolkit Ljava/awt/Toolkit;
4 9 2 shouldEnable Z
Exception table:
from to target type
2 9 10 Class java.lang.Exception
public void enableInputMethods(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield java.awt.TextComponent.checkForEnableIM:Z
1: aload 0
iload 1
invokespecial java.awt.Component.enableInputMethods:(Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
0 3 1 enable Z
MethodParameters:
Name Flags
enable
boolean areInputMethodsEnabled();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.checkForEnableIM:Z
ifeq 2
1: aload 0
invokevirtual java.awt.TextComponent.enableInputMethodsIfNecessary:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.TextComponent.eventMask:J
ldc 4096
land
lconst_0
lcmp
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
public java.awt.im.InputMethodRequests getInputMethodRequests();
descriptor: ()Ljava/awt/im/InputMethodRequests;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.awt.peer.TextComponentPeer.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
areturn
2: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
1 3 1 peer Ljava/awt/peer/TextComponentPeer;
public void addNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.awt.Component.addNotify:()V
1: aload 0
invokevirtual java.awt.TextComponent.enableInputMethodsIfNecessary:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
public void removeNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.TextComponent.getTreeLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 2
start local 2 2: aload 2
ifnull 6
3: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getText:()Ljava/lang/String;
putfield java.awt.TextComponent.text:Ljava/lang/String;
4: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getSelectionStart:()I
putfield java.awt.TextComponent.selectionStart:I
5: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getSelectionEnd:()I
putfield java.awt.TextComponent.selectionEnd:I
6: StackMap locals: java.lang.Object java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
invokespecial java.awt.Component.removeNotify:()V
end local 2 7: aload 1
monitorexit
8: goto 11
StackMap locals: java.awt.TextComponent java.lang.Object
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/TextComponent;
2 7 2 peer Ljava/awt/peer/TextComponentPeer;
Exception table:
from to target type
1 8 9 any
9 10 9 any
public synchronized void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc ""
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 2
start local 2 3: aload 2
ifnull 9
4: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getText:()Ljava/lang/String;
putfield java.awt.TextComponent.text:Ljava/lang/String;
5: aload 1
aload 0
getfield java.awt.TextComponent.text:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
6: aload 0
aload 1
putfield java.awt.TextComponent.text:Ljava/lang/String;
7: aload 2
aload 0
getfield java.awt.TextComponent.text:Ljava/lang/String;
invokeinterface java.awt.peer.TextComponentPeer.setText:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
aload 1
putfield java.awt.TextComponent.text:Ljava/lang/String;
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/TextComponent;
0 11 1 t Ljava/lang/String;
3 11 2 peer Ljava/awt/peer/TextComponentPeer;
MethodParameters:
Name Flags
t
public synchronized java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokeinterface java.awt.peer.TextComponentPeer.getText:()Ljava/lang/String;
putfield java.awt.TextComponent.text:Ljava/lang/String;
3: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
getfield java.awt.TextComponent.text:Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
1 4 1 peer Ljava/awt/peer/TextComponentPeer;
public synchronized java.lang.String getSelectedText();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
aload 0
invokevirtual java.awt.TextComponent.getSelectionStart:()I
aload 0
invokevirtual java.awt.TextComponent.getSelectionEnd:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/TextComponent;
public boolean isEditable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.editable:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/TextComponent;
public synchronized void setEditable(boolean);
descriptor: (Z)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.TextComponent.editable:Z
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.awt.TextComponent.editable:Z
3: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
iload 1
invokeinterface java.awt.peer.TextComponentPeer.setEditable:(Z)V
6: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/TextComponent;
0 7 1 b Z
4 7 2 peer Ljava/awt/peer/TextComponentPeer;
MethodParameters:
Name Flags
b
public java.awt.Color getBackground();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.editable:Z
ifne 2
aload 0
getfield java.awt.TextComponent.backgroundSetByClientCode:Z
ifne 2
1: getstatic java.awt.SystemColor.control:Ljava/awt/SystemColor;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial java.awt.Component.getBackground:()Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
public void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield java.awt.TextComponent.backgroundSetByClientCode:Z
1: aload 0
aload 1
invokespecial java.awt.Component.setBackground:(Ljava/awt/Color;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
0 3 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
public synchronized int getSelectionStart();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokeinterface java.awt.peer.TextComponentPeer.getSelectionStart:()I
putfield java.awt.TextComponent.selectionStart:I
3: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
getfield java.awt.TextComponent.selectionStart:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
1 4 1 peer Ljava/awt/peer/TextComponentPeer;
public synchronized void setSelectionStart(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
invokevirtual java.awt.TextComponent.getSelectionEnd:()I
invokevirtual java.awt.TextComponent.select:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/TextComponent;
0 2 1 selectionStart I
MethodParameters:
Name Flags
selectionStart
public synchronized int getSelectionEnd();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokeinterface java.awt.peer.TextComponentPeer.getSelectionEnd:()I
putfield java.awt.TextComponent.selectionEnd:I
3: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
getfield java.awt.TextComponent.selectionEnd:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
1 4 1 peer Ljava/awt/peer/TextComponentPeer;
public synchronized void setSelectionEnd(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.awt.TextComponent.getSelectionStart:()I
iload 1
invokevirtual java.awt.TextComponent.select:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/TextComponent;
0 2 1 selectionEnd I
MethodParameters:
Name Flags
selectionEnd
public synchronized void select(int, int);
descriptor: (II)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
astore 3
start local 3 1: iload 1
ifge 3
2: iconst_0
istore 1
3: StackMap locals: java.lang.String
StackMap stack:
iload 1
aload 3
invokevirtual java.lang.String.length:()I
if_icmple 5
4: aload 3
invokevirtual java.lang.String.length:()I
istore 1
5: StackMap locals:
StackMap stack:
iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmple 7
6: aload 3
invokevirtual java.lang.String.length:()I
istore 2
7: StackMap locals:
StackMap stack:
iload 2
iload 1
if_icmpge 9
8: iload 1
istore 2
9: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield java.awt.TextComponent.selectionStart:I
10: aload 0
iload 2
putfield java.awt.TextComponent.selectionEnd:I
11: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 4
start local 4 12: aload 4
ifnull 14
13: aload 4
iload 1
iload 2
invokeinterface java.awt.peer.TextComponentPeer.select:(II)V
14: StackMap locals: java.awt.peer.TextComponentPeer
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 Ljava/awt/TextComponent;
0 15 1 selectionStart I
0 15 2 selectionEnd I
1 15 3 text Ljava/lang/String;
12 15 4 peer Ljava/awt/peer/TextComponentPeer;
MethodParameters:
Name Flags
selectionStart
selectionEnd
public synchronized void selectAll();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
putfield java.awt.TextComponent.selectionStart:I
1: aload 0
aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
putfield java.awt.TextComponent.selectionEnd:I
2: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
aload 0
getfield java.awt.TextComponent.selectionStart:I
aload 0
getfield java.awt.TextComponent.selectionEnd:I
invokeinterface java.awt.peer.TextComponentPeer.select:(II)V
5: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/TextComponent;
3 6 1 peer Ljava/awt/peer/TextComponentPeer;
public synchronized void setCaretPosition(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "position less than zero."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: iload 1
iload 2
if_icmple 5
4: iload 2
istore 1
5: StackMap locals: int
StackMap stack:
aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 3
iload 1
invokeinterface java.awt.peer.TextComponentPeer.setCaretPosition:(I)V
8: goto 10
9: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 0
iload 1
iload 1
invokevirtual java.awt.TextComponent.select:(II)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/awt/TextComponent;
0 11 1 position I
3 11 2 maxposition I
6 11 3 peer Ljava/awt/peer/TextComponentPeer;
MethodParameters:
Name Flags
position
public synchronized int getCaretPosition();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 1
ifnull 5
3: aload 1
invokeinterface java.awt.peer.TextComponentPeer.getCaretPosition:()I
istore 2
4: goto 6
5: StackMap locals: java.awt.peer.TextComponentPeer int
StackMap stack:
aload 0
getfield java.awt.TextComponent.selectionStart:I
istore 2
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 3
start local 3 7: iload 2
iload 3
if_icmple 9
8: iload 3
istore 2
9: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/awt/TextComponent;
1 10 1 peer Ljava/awt/peer/TextComponentPeer;
2 10 2 position I
7 10 3 maxposition I
public synchronized void addTextListener(java.awt.event.TextListener);
descriptor: (Ljava/awt/event/TextListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.add:(Ljava/awt/event/TextListener;Ljava/awt/event/TextListener;)Ljava/awt/event/TextListener;
putfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
3: aload 0
iconst_1
putfield java.awt.TextComponent.newEventsOnly:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/TextComponent;
0 5 1 l Ljava/awt/event/TextListener;
MethodParameters:
Name Flags
l
public synchronized void removeTextListener(java.awt.event.TextListener);
descriptor: (Ljava/awt/event/TextListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
aload 1
invokestatic java.awt.AWTEventMulticaster.remove:(Ljava/awt/event/TextListener;Ljava/awt/event/TextListener;)Ljava/awt/event/TextListener;
putfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
0 4 1 l Ljava/awt/event/TextListener;
MethodParameters:
Name Flags
l
public synchronized java.awt.event.TextListener[] getTextListeners();
descriptor: ()[Ljava/awt/event/TextListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/awt/event/TextListener;
invokevirtual java.awt.TextComponent.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast java.awt.event.TextListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/TextComponent;
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ldc Ljava/awt/event/TextListener;
if_acmpne 4
2: aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
astore 2
3: goto 5
4: StackMap locals: java.util.EventListener
StackMap stack:
aload 0
aload 1
invokespecial java.awt.Component.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
5: StackMap locals:
StackMap stack:
aload 2
aload 1
invokestatic java.awt.AWTEventMulticaster.getListeners:(Ljava/util/EventListener;Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/TextComponent;
0 6 1 listenerType Ljava/lang/Class<TT;>;
1 6 2 l Ljava/util/EventListener;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
boolean eventEnabled(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)Z
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield java.awt.AWTEvent.id:I
sipush 900
if_icmpne 5
1: aload 0
getfield java.awt.TextComponent.eventMask:J
ldc 1024
land
lconst_0
lcmp
ifne 3
2: aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
ifnull 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.Component.eventEnabled:(Ljava/awt/AWTEvent;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/TextComponent;
0 6 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected void processEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.TextEvent
ifeq 3
1: aload 0
aload 1
checkcast java.awt.event.TextEvent
invokevirtual java.awt.TextComponent.processTextEvent:(Ljava/awt/event/TextEvent;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.Component.processEvent:(Ljava/awt/AWTEvent;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/TextComponent;
0 5 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected void processTextEvent(java.awt.event.TextEvent);
descriptor: (Ljava/awt/event/TextEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 1
invokevirtual java.awt.event.TextEvent.getID:()I
istore 3
start local 3 3: iload 3
tableswitch { // 900 - 900
900: 4
default: 5
}
4: StackMap locals: java.awt.event.TextListener int
StackMap stack:
aload 2
aload 1
invokeinterface java.awt.event.TextListener.textValueChanged:(Ljava/awt/event/TextEvent;)V
end local 3 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 Ljava/awt/TextComponent;
0 6 1 e Ljava/awt/event/TextEvent;
1 6 2 listener Ljava/awt/event/TextListener;
3 5 3 id I
MethodParameters:
Name Flags
e
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial java.awt.Component.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",text="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield java.awt.TextComponent.editable:Z
ifeq 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",editable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",selection="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.TextComponent.getSelectionStart:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.TextComponent.getSelectionEnd:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/TextComponent;
1 4 1 str Ljava/lang/String;
private boolean canAccessClipboard();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_1
ireturn
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
getstatic sun.awt.AWTPermissions.ACCESS_CLIPBOARD_PERMISSION:Ljava/awt/AWTPermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/TextComponent;
1 6 1 sm Ljava/lang/SecurityManager;
Exception table:
from to target type
2 3 4 Class java.lang.SecurityException
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 0
getfield java.awt.TextComponent.peer:Ljava/awt/peer/ComponentPeer;
checkcast java.awt.peer.TextComponentPeer
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getText:()Ljava/lang/String;
putfield java.awt.TextComponent.text:Ljava/lang/String;
3: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getSelectionStart:()I
putfield java.awt.TextComponent.selectionStart:I
4: aload 0
aload 2
invokeinterface java.awt.peer.TextComponentPeer.getSelectionEnd:()I
putfield java.awt.TextComponent.selectionEnd:I
5: StackMap locals: java.awt.peer.TextComponentPeer
StackMap stack:
aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
6: aload 1
ldc "textL"
aload 0
getfield java.awt.TextComponent.textListener:Ljava/awt/event/TextListener;
invokestatic java.awt.AWTEventMulticaster.save:(Ljava/io/ObjectOutputStream;Ljava/lang/String;Ljava/util/EventListener;)V
7: aload 1
aconst_null
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/TextComponent;
0 9 1 s Ljava/io/ObjectOutputStream;
1 9 2 peer Ljava/awt/peer/TextComponentPeer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.awt.GraphicsEnvironment.checkHeadless:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
2: aload 0
aload 0
getfield java.awt.TextComponent.text:Ljava/lang/String;
ifnull 3
aload 0
getfield java.awt.TextComponent.text:Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack: java.awt.TextComponent
3: ldc ""
StackMap locals: java.awt.TextComponent java.io.ObjectInputStream
StackMap stack: java.awt.TextComponent java.lang.String
4: putfield java.awt.TextComponent.text:Ljava/lang/String;
5: aload 0
aload 0
getfield java.awt.TextComponent.selectionStart:I
aload 0
getfield java.awt.TextComponent.selectionEnd:I
invokevirtual java.awt.TextComponent.select:(II)V
6: goto 12
start local 2 7: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast java.lang.String
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 3
start local 3 8: ldc "textL"
aload 3
if_acmpne 11
9: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.awt.event.TextListener
invokevirtual java.awt.TextComponent.addTextListener:(Ljava/awt/event/TextListener;)V
10: goto 12
11: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
pop
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
dup
astore 2
start local 2 13: ifnonnull 7
14: aload 0
invokevirtual java.awt.TextComponent.enableInputMethodsIfNecessary:()V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/awt/TextComponent;
0 16 1 s Ljava/io/ObjectInputStream;
7 12 2 keyOrNull Ljava/lang/Object;
13 16 2 keyOrNull Ljava/lang/Object;
8 12 3 key Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException, java.awt.HeadlessException
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 java.awt.TextComponent.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new java.awt.TextComponent$AccessibleAWTTextComponent
dup
aload 0
invokespecial java.awt.TextComponent$AccessibleAWTTextComponent.<init>:(Ljava/awt/TextComponent;)V
putfield java.awt.TextComponent.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.TextComponent.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/TextComponent;
}
SourceFile: "TextComponent.java"
NestMembers:
java.awt.TextComponent$AccessibleAWTTextComponent
InnerClasses:
protected AccessibleAWTTextComponent = java.awt.TextComponent$AccessibleAWTTextComponent of java.awt.TextComponent