public class javax.security.auth.callback.PasswordCallback implements javax.security.auth.callback.Callback, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.security.auth.callback.PasswordCallback
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2267422647454909926
private java.lang.String prompt;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean echoOn;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private char[] inputPassword;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: StackMap locals: javax.security.auth.callback.PasswordCallback java.lang.String int
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.security.auth.callback.PasswordCallback.prompt:Ljava/lang/String;
4: aload 0
iload 2
putfield javax.security.auth.callback.PasswordCallback.echoOn:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/security/auth/callback/PasswordCallback;
0 6 1 prompt Ljava/lang/String;
0 6 2 echoOn Z
MethodParameters:
Name Flags
prompt
echoOn
public java.lang.String getPrompt();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.PasswordCallback.prompt:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/PasswordCallback;
public boolean isEchoOn();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.PasswordCallback.echoOn:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/PasswordCallback;
public void setPassword(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
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: javax.security.auth.callback.PasswordCallback
1: aload 1
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
StackMap locals: javax.security.auth.callback.PasswordCallback char[]
StackMap stack: javax.security.auth.callback.PasswordCallback char[]
2: putfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/security/auth/callback/PasswordCallback;
0 4 1 password [C
MethodParameters:
Name Flags
password
public char[] getPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
StackMap locals:
StackMap stack: char[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/callback/PasswordCallback;
public void clearPassword();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
ifnull 6
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
iload 1
bipush 32
castore
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield javax.security.auth.callback.PasswordCallback.inputPassword:[C
arraylength
if_icmplt 3
end local 1 6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/security/auth/callback/PasswordCallback;
2 6 1 i I
}
SourceFile: "PasswordCallback.java"