class javax.swing.text.MaskFormatter$MaskCharacter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.MaskFormatter$MaskCharacter
super_class: java.lang.Object
{
final javax.swing.text.MaskFormatter this$0;
descriptor: Ljavax/swing/text/MaskFormatter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.text.MaskFormatter);
descriptor: (Ljavax/swing/text/MaskFormatter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.text.MaskFormatter$MaskCharacter.this$0:Ljavax/swing/text/MaskFormatter;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/MaskFormatter$MaskCharacter;
MethodParameters:
Name Flags
this$0 final
public boolean isLiteral();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/MaskFormatter$MaskCharacter;
public boolean isValidCharacter(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.isLiteral:()Z
ifeq 3
1: aload 0
iload 1
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.getChar:(C)C
iload 1
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.getChar:(C)C
istore 1
4: aload 0
getfield javax.swing.text.MaskFormatter$MaskCharacter.this$0:Ljavax/swing/text/MaskFormatter;
invokevirtual javax.swing.text.MaskFormatter.getValidCharacters:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ifnull 7
aload 2
iload 1
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield javax.swing.text.MaskFormatter$MaskCharacter.this$0:Ljavax/swing/text/MaskFormatter;
invokevirtual javax.swing.text.MaskFormatter.getInvalidCharacters:()Ljava/lang/String;
astore 2
8: aload 2
ifnull 10
aload 2
iload 1
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/MaskFormatter$MaskCharacter;
0 11 1 aChar C
5 11 2 filter Ljava/lang/String;
MethodParameters:
Name Flags
aChar
public char getChar(char);
descriptor: (C)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/MaskFormatter$MaskCharacter;
0 1 1 aChar C
MethodParameters:
Name Flags
aChar
public void append(java.lang.StringBuilder, java.lang.String, int[], java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;[ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
iconst_0
iaload
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 5
start local 5 3: iload 5
ifeq 4
aload 2
aload 3
iconst_0
iaload
invokevirtual java.lang.String.charAt:(I)C
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 0
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.isLiteral:()Z
ifeq 15
7: aload 1
aload 0
iload 6
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.getChar:(C)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 0
getfield javax.swing.text.MaskFormatter$MaskCharacter.this$0:Ljavax/swing/text/MaskFormatter;
invokevirtual javax.swing.text.MaskFormatter.getValueContainsLiteralCharacters:()Z
ifeq 29
9: iload 5
ifeq 13
iload 6
aload 0
iload 6
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.getChar:(C)C
if_icmpeq 13
10: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid character: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
iconst_0
iaload
12: invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
13: StackMap locals: int
StackMap stack:
aload 3
iconst_0
aload 3
iconst_0
iaload
iconst_1
iadd
iastore
14: goto 29
15: StackMap locals:
StackMap stack:
aload 3
iconst_0
iaload
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 22
16: aload 4
ifnull 19
aload 3
iconst_0
iaload
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 19
17: aload 1
aload 4
aload 3
iconst_0
iaload
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: goto 20
19: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.text.MaskFormatter$MaskCharacter.this$0:Ljavax/swing/text/MaskFormatter;
invokevirtual javax.swing.text.MaskFormatter.getPlaceholderCharacter:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: StackMap locals:
StackMap stack:
aload 3
iconst_0
aload 3
iconst_0
iaload
iconst_1
iadd
iastore
21: goto 29
22: StackMap locals:
StackMap stack:
aload 0
iload 6
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.isValidCharacter:(C)Z
ifeq 26
23: aload 1
aload 0
iload 6
invokevirtual javax.swing.text.MaskFormatter$MaskCharacter.getChar:(C)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
24: aload 3
iconst_0
aload 3
iconst_0
iaload
iconst_1
iadd
iastore
25: goto 29
26: StackMap locals:
StackMap stack:
new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid character: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: aload 3
iconst_0
iaload
28: invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
29: StackMap locals:
StackMap stack:
return
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 30 0 this Ljavax/swing/text/MaskFormatter$MaskCharacter;
0 30 1 buff Ljava/lang/StringBuilder;
0 30 2 formatting Ljava/lang/String;
0 30 3 index [I
0 30 4 placeholder Ljava/lang/String;
3 30 5 inString Z
6 30 6 aChar C
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
buff
formatting
index
placeholder
}
SourceFile: "MaskFormatter.java"
NestHost: javax.swing.text.MaskFormatter
InnerClasses:
private MaskCharacter = javax.swing.text.MaskFormatter$MaskCharacter of javax.swing.text.MaskFormatter