public class javax.swing.text.PasswordView extends javax.swing.text.FieldView
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.PasswordView
super_class: javax.swing.text.FieldView
{
static char[] ONE;
descriptor: [C
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
newarray 5
putstatic javax.swing.text.PasswordView.ONE:[C
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)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.FieldView.<init>:(Ljavax/swing/text/Element;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/PasswordView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
protected int drawUnselectedText(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual javax.swing.text.PasswordView.getContainer:()Ljava/awt/Container;
astore 6
start local 6 1: aload 6
instanceof javax.swing.JPasswordField
ifeq 16
2: aload 6
checkcast javax.swing.JPasswordField
astore 7
start local 7 3: aload 7
invokevirtual javax.swing.JPasswordField.echoCharIsSet:()Z
ifne 5
4: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial javax.swing.text.FieldView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
ireturn
5: StackMap locals: java.awt.Container javax.swing.JPasswordField
StackMap stack:
aload 7
invokevirtual javax.swing.JPasswordField.isEnabled:()Z
ifeq 8
6: aload 1
aload 7
invokevirtual javax.swing.JPasswordField.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual javax.swing.JPasswordField.getDisabledTextColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
9: StackMap locals:
StackMap stack:
aload 7
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 8
start local 8 10: iload 5
iload 4
isub
istore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 15
13: StackMap locals: int int int
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 8
invokevirtual javax.swing.text.PasswordView.drawEchoCharacter:(Ljava/awt/Graphics;IIC)I
istore 2
14: iinc 10 1
StackMap locals:
StackMap stack:
15: iload 10
iload 9
if_icmplt 13
end local 10 end local 9 end local 8 end local 7 16: StackMap locals: javax.swing.text.PasswordView java.awt.Graphics int int int int java.awt.Container
StackMap stack:
iload 2
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/text/PasswordView;
0 17 1 g Ljava/awt/Graphics;
0 17 2 x I
0 17 3 y I
0 17 4 p0 I
0 17 5 p1 I
1 17 6 c Ljava/awt/Container;
3 16 7 f Ljavax/swing/JPasswordField;
10 16 8 echoChar C
11 16 9 n I
12 16 10 i I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
protected int drawSelectedText(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
aload 0
getfield javax.swing.text.PasswordView.selected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 0
invokevirtual javax.swing.text.PasswordView.getContainer:()Ljava/awt/Container;
astore 6
start local 6 2: aload 6
instanceof javax.swing.JPasswordField
ifeq 13
3: aload 6
checkcast javax.swing.JPasswordField
astore 7
start local 7 4: aload 7
invokevirtual javax.swing.JPasswordField.echoCharIsSet:()Z
ifne 6
5: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokespecial javax.swing.text.FieldView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
ireturn
6: StackMap locals: java.awt.Container javax.swing.JPasswordField
StackMap stack:
aload 7
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 8
start local 8 7: iload 5
iload 4
isub
istore 9
start local 9 8: iconst_0
istore 10
start local 10 9: goto 12
10: StackMap locals: int int int
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 8
invokevirtual javax.swing.text.PasswordView.drawEchoCharacter:(Ljava/awt/Graphics;IIC)I
istore 2
11: iinc 10 1
StackMap locals:
StackMap stack:
12: iload 10
iload 9
if_icmplt 10
end local 10 end local 9 end local 8 end local 7 13: StackMap locals: javax.swing.text.PasswordView java.awt.Graphics int int int int java.awt.Container
StackMap stack:
iload 2
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/PasswordView;
0 14 1 g Ljava/awt/Graphics;
0 14 2 x I
0 14 3 y I
0 14 4 p0 I
0 14 5 p1 I
2 14 6 c Ljava/awt/Container;
4 13 7 f Ljavax/swing/JPasswordField;
7 13 8 echoChar C
8 13 9 n I
9 13 10 i I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
protected int drawEchoCharacter(java.awt.Graphics, int, int, char);
descriptor: (Ljava/awt/Graphics;IIC)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic javax.swing.text.PasswordView.ONE:[C
iconst_0
iload 4
castore
1: aload 0
invokestatic javax.swing.text.Utilities.getJComponent:(Ljavax/swing/text/View;)Ljavax/swing/JComponent;
2: aload 1
getstatic javax.swing.text.PasswordView.ONE:[C
iconst_0
iconst_1
iload 2
iload 3
3: invokestatic sun.swing.SwingUtilities2.drawChars:(Ljavax/swing/JComponent;Ljava/awt/Graphics;[CIIII)I
pop
4: iload 2
aload 1
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
iload 4
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iadd
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/PasswordView;
0 5 1 g Ljava/awt/Graphics;
0 5 2 x I
0 5 3 y I
0 5 4 c C
MethodParameters:
Name Flags
g
x
y
c
public java.awt.Shape modelToView(int, java.awt.Shape, javax.swing.text.Position$Bias);
descriptor: (ILjava/awt/Shape;Ljavax/swing/text/Position$Bias;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.PasswordView.getContainer:()Ljava/awt/Container;
astore 4
start local 4 1: aload 4
instanceof javax.swing.JPasswordField
ifeq 12
2: aload 4
checkcast javax.swing.JPasswordField
astore 5
start local 5 3: aload 5
invokevirtual javax.swing.JPasswordField.echoCharIsSet:()Z
ifne 5
4: aload 0
iload 1
aload 2
aload 3
invokespecial javax.swing.text.FieldView.modelToView:(ILjava/awt/Shape;Ljavax/swing/text/Position$Bias;)Ljava/awt/Shape;
areturn
5: StackMap locals: java.awt.Container javax.swing.JPasswordField
StackMap stack:
aload 5
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 6
start local 6 6: aload 5
aload 5
invokevirtual javax.swing.JPasswordField.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JPasswordField.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 7
start local 7 7: aload 0
aload 2
invokevirtual javax.swing.text.PasswordView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 8
start local 8 8: iload 1
aload 0
invokevirtual javax.swing.text.PasswordView.getStartOffset:()I
isub
aload 7
iload 6
invokevirtual java.awt.FontMetrics.charWidth:(C)I
imul
istore 9
start local 9 9: aload 8
dup
getfield java.awt.Rectangle.x:I
iload 9
iadd
putfield java.awt.Rectangle.x:I
10: aload 8
iconst_1
putfield java.awt.Rectangle.width:I
11: aload 8
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/text/PasswordView;
0 13 1 pos I
0 13 2 a Ljava/awt/Shape;
0 13 3 b Ljavax/swing/text/Position$Bias;
1 13 4 c Ljava/awt/Container;
3 12 5 f Ljavax/swing/JPasswordField;
6 12 6 echoChar C
7 12 7 m Ljava/awt/FontMetrics;
8 12 8 alloc Ljava/awt/Rectangle;
9 12 9 dx I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
pos
a
b
public int viewToModel(float, float, java.awt.Shape, javax.swing.text.Position$Bias[]);
descriptor: (FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
1: iconst_0
istore 5
start local 5 2: aload 0
invokevirtual javax.swing.text.PasswordView.getContainer:()Ljava/awt/Container;
astore 6
start local 6 3: aload 6
instanceof javax.swing.JPasswordField
ifeq 22
4: aload 6
checkcast javax.swing.JPasswordField
astore 7
start local 7 5: aload 7
invokevirtual javax.swing.JPasswordField.echoCharIsSet:()Z
ifne 7
6: aload 0
fload 1
fload 2
aload 3
aload 4
invokespecial javax.swing.text.FieldView.viewToModel:(FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
ireturn
7: StackMap locals: int java.awt.Container javax.swing.JPasswordField
StackMap stack:
aload 7
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 8
start local 8 8: aload 7
aload 7
invokevirtual javax.swing.JPasswordField.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JPasswordField.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
iload 8
invokevirtual java.awt.FontMetrics.charWidth:(C)I
istore 9
start local 9 9: aload 0
aload 3
invokevirtual javax.swing.text.PasswordView.adjustAllocation:(Ljava/awt/Shape;)Ljava/awt/Shape;
astore 3
10: aload 3
instanceof java.awt.Rectangle
ifeq 11
aload 3
checkcast java.awt.Rectangle
goto 12
11: StackMap locals: int int
StackMap stack:
aload 3
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
12: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 10
start local 10 13: iload 9
ifle 15
14: fload 1
f2i
aload 10
getfield java.awt.Rectangle.x:I
isub
iload 9
idiv
goto 16
StackMap locals: java.awt.Rectangle
StackMap stack:
15: ldc 2147483647
16: StackMap locals:
StackMap stack: int
istore 5
17: iload 5
ifge 20
18: iconst_0
istore 5
19: goto 22
20: StackMap locals:
StackMap stack:
iload 5
aload 0
invokevirtual javax.swing.text.PasswordView.getStartOffset:()I
aload 0
invokevirtual javax.swing.text.PasswordView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
iadd
if_icmple 22
21: aload 0
invokevirtual javax.swing.text.PasswordView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
aload 0
invokevirtual javax.swing.text.PasswordView.getStartOffset:()I
isub
istore 5
end local 10 end local 9 end local 8 end local 7 22: StackMap locals: javax.swing.text.PasswordView float float java.awt.Shape javax.swing.text.Position$Bias[] int java.awt.Container
StackMap stack:
aload 0
invokevirtual javax.swing.text.PasswordView.getStartOffset:()I
iload 5
iadd
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljavax/swing/text/PasswordView;
0 23 1 fx F
0 23 2 fy F
0 23 3 a Ljava/awt/Shape;
0 23 4 bias [Ljavax/swing/text/Position$Bias;
2 23 5 n I
3 23 6 c Ljava/awt/Container;
5 22 7 f Ljavax/swing/JPasswordField;
8 22 8 echoChar C
9 22 9 charWidth I
13 22 10 alloc Ljava/awt/Rectangle;
MethodParameters:
Name Flags
fx
fy
a
bias
public float getPreferredSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 0
0: 1
default: 9
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.PasswordView.getContainer:()Ljava/awt/Container;
astore 2
start local 2 2: aload 2
instanceof javax.swing.JPasswordField
ifeq 9
3: aload 2
checkcast javax.swing.JPasswordField
astore 3
start local 3 4: aload 3
invokevirtual javax.swing.JPasswordField.echoCharIsSet:()Z
ifeq 9
5: aload 3
invokevirtual javax.swing.JPasswordField.getEchoChar:()C
istore 4
start local 4 6: aload 3
aload 3
invokevirtual javax.swing.JPasswordField.getFont:()Ljava/awt/Font;
invokevirtual javax.swing.JPasswordField.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 5
start local 5 7: aload 0
invokevirtual javax.swing.text.PasswordView.getDocument:()Ljavax/swing/text/Document;
pop
8: aload 5
iload 4
invokevirtual java.awt.FontMetrics.charWidth:(C)I
aload 0
invokevirtual javax.swing.text.PasswordView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
imul
i2f
freturn
end local 5 end local 4 end local 3 end local 2 9: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial javax.swing.text.FieldView.getPreferredSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/PasswordView;
0 10 1 axis I
2 9 2 c Ljava/awt/Container;
4 9 3 f Ljavax/swing/JPasswordField;
6 9 4 echoChar C
7 9 5 m Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
axis
}
SourceFile: "PasswordView.java"
InnerClasses:
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position