public class javax.swing.JPasswordField extends javax.swing.JTextField
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JPasswordField
super_class: javax.swing.JTextField
{
private static final java.lang.String uiClassID;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "PasswordFieldUI"
private char echoChar;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private boolean echoCharSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
iconst_0
invokespecial javax.swing.JPasswordField.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JPasswordField;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
iconst_0
invokespecial javax.swing.JPasswordField.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JPasswordField;
0 2 1 text Ljava/lang/String;
MethodParameters:
Name Flags
text
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
iload 1
invokespecial javax.swing.JPasswordField.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JPasswordField;
0 2 1 columns I
MethodParameters:
Name Flags
columns
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
iload 2
invokespecial javax.swing.JPasswordField.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JPasswordField;
0 2 1 text Ljava/lang/String;
0 2 2 columns I
MethodParameters:
Name Flags
text
columns
public void <init>(javax.swing.text.Document, java.lang.String, int);
descriptor: (Ljavax/swing/text/Document;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial javax.swing.JTextField.<init>:(Ljavax/swing/text/Document;Ljava/lang/String;I)V
1: aload 0
iconst_0
putfield javax.swing.JPasswordField.echoCharSet:Z
2: aload 0
iconst_0
invokevirtual javax.swing.JPasswordField.enableInputMethods:(Z)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JPasswordField;
0 4 1 doc Ljavax/swing/text/Document;
0 4 2 txt Ljava/lang/String;
0 4 3 columns I
MethodParameters:
Name Flags
doc
txt
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 "PasswordFieldUI"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JPasswordField;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
public void updateUI();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JPasswordField.echoCharSet:Z
ifne 2
1: aload 0
bipush 42
putfield javax.swing.JPasswordField.echoChar:C
2: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JTextField.updateUI:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/JPasswordField;
public char getEchoChar();
descriptor: ()C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JPasswordField.echoChar:C
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JPasswordField;
public void setEchoChar(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.JPasswordField.echoChar:C
1: aload 0
iconst_1
putfield javax.swing.JPasswordField.echoCharSet:Z
2: aload 0
invokevirtual javax.swing.JPasswordField.repaint:()V
3: aload 0
invokevirtual javax.swing.JPasswordField.revalidate:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JPasswordField;
0 5 1 c C
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false, visualUpdate = true, description = "character to display in place of the real characters")
MethodParameters:
Name Flags
c
public boolean echoCharIsSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.JPasswordField.echoChar:C
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/JPasswordField;
public void cut();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "JPasswordField.cutCopyAllowed"
invokevirtual javax.swing.JPasswordField.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 3
1: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 0
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JTextField.cut:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JPasswordField;
public void copy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "JPasswordField.cutCopyAllowed"
invokevirtual javax.swing.JPasswordField.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
if_acmpeq 3
1: invokestatic javax.swing.UIManager.getLookAndFeel:()Ljavax/swing/LookAndFeel;
aload 0
invokevirtual javax.swing.LookAndFeel.provideErrorFeedback:(Ljava/awt/Component;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JTextField.copy:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/JPasswordField;
public java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JTextField.getText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JPasswordField;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String getText(int, int);
descriptor: (II)Ljava/lang/String;
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
invokespecial javax.swing.JTextField.getText:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JPasswordField;
0 1 1 offs I
0 1 2 len I
Exceptions:
throws javax.swing.text.BadLocationException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
offs
len
public char[] getPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.JPasswordField.getDocument:()Ljavax/swing/text/Document;
astore 1
start local 1 1: new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
astore 2
start local 2 2: aload 1
iconst_0
aload 1
invokeinterface javax.swing.text.Document.getLength:()I
aload 2
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
3: goto 6
StackMap locals: javax.swing.JPasswordField javax.swing.text.Document javax.swing.text.Segment
StackMap stack: javax.swing.text.BadLocationException
4: pop
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 2
getfield javax.swing.text.Segment.count:I
newarray 5
astore 3
start local 3 7: aload 2
getfield javax.swing.text.Segment.array:[C
aload 2
getfield javax.swing.text.Segment.offset:I
aload 3
iconst_0
aload 2
getfield javax.swing.text.Segment.count:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/JPasswordField;
1 9 1 doc Ljavax/swing/text/Document;
2 9 2 txt Ljavax/swing/text/Segment;
7 9 3 retValue [C
Exception table:
from to target type
2 3 4 Class javax.swing.text.BadLocationException
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
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.JPasswordField.getUIClassID:()Ljava/lang/String;
ldc "PasswordFieldUI"
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.JPasswordField.ui:Ljavax/swing/plaf/ComponentUI;
ifnull 6
5: aload 0
getfield javax.swing.JPasswordField.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/JPasswordField;
0 7 1 s Ljava/io/ObjectOutputStream;
3 6 2 count B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
protected java.lang.String paramString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial javax.swing.JTextField.paramString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc ",echoChar="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.JPasswordField.echoChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JPasswordField;
boolean customSetUIProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "echoChar"
if_acmpne 5
1: aload 0
getfield javax.swing.JPasswordField.echoCharSet:Z
ifne 4
2: aload 0
aload 2
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
invokevirtual javax.swing.JPasswordField.setEchoChar:(C)V
3: aload 0
iconst_0
putfield javax.swing.JPasswordField.echoCharSet:Z
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/JPasswordField;
0 6 1 propertyName Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
propertyName
value
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.JPasswordField.accessibleContext:Ljavax/accessibility/AccessibleContext;
ifnonnull 2
1: aload 0
new javax.swing.JPasswordField$AccessibleJPasswordField
dup
aload 0
invokespecial javax.swing.JPasswordField$AccessibleJPasswordField.<init>:(Ljavax/swing/JPasswordField;)V
putfield javax.swing.JPasswordField.accessibleContext:Ljavax/accessibility/AccessibleContext;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JPasswordField.accessibleContext:Ljavax/accessibility/AccessibleContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/JPasswordField;
RuntimeVisibleAnnotations:
java.beans.BeanProperty(bound = false)
}
SourceFile: "JPasswordField.java"
NestMembers:
javax.swing.JPasswordField$AccessibleJPasswordField
InnerClasses:
protected AccessibleJPasswordField = javax.swing.JPasswordField$AccessibleJPasswordField of javax.swing.JPasswordField
RuntimeVisibleAnnotations:
java.beans.JavaBean(description = "Allows the editing of a line of text but doesn't show the characters.")
javax.swing.SwingContainer(value = false)