public class javax.security.auth.callback.ChoiceCallback 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.ChoiceCallback
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3975664071579892167
private java.lang.String prompt;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] choices;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int defaultChoice;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean multipleSelectionsAllowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int[] selections;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String[], int, boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.length:()I
ifeq 4
2: aload 2
ifnull 4
aload 2
arraylength
ifeq 4
3: iload 3
iflt 4
iload 3
aload 2
arraylength
if_icmplt 5
4: StackMap locals: javax.security.auth.callback.ChoiceCallback java.lang.String java.lang.String[] int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 2
iload 5
aaload
ifnull 8
aload 2
iload 5
aaload
invokevirtual java.lang.String.length:()I
ifne 9
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 2
arraylength
if_icmplt 7
end local 5 11: aload 0
aload 1
putfield javax.security.auth.callback.ChoiceCallback.prompt:Ljava/lang/String;
12: aload 0
aload 2
putfield javax.security.auth.callback.ChoiceCallback.choices:[Ljava/lang/String;
13: aload 0
iload 3
putfield javax.security.auth.callback.ChoiceCallback.defaultChoice:I
14: aload 0
iload 4
putfield javax.security.auth.callback.ChoiceCallback.multipleSelectionsAllowed:Z
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/security/auth/callback/ChoiceCallback;
0 16 1 prompt Ljava/lang/String;
0 16 2 choices [Ljava/lang/String;
0 16 3 defaultChoice I
0 16 4 multipleSelectionsAllowed Z
6 11 5 i I
MethodParameters:
Name Flags
prompt
choices
defaultChoice
multipleSelectionsAllowed
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.ChoiceCallback.prompt:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/ChoiceCallback;
public java.lang.String[] getChoices();
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.ChoiceCallback.choices:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/ChoiceCallback;
public int getDefaultChoice();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.ChoiceCallback.defaultChoice:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/ChoiceCallback;
public boolean allowMultipleSelections();
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.ChoiceCallback.multipleSelectionsAllowed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/ChoiceCallback;
public void setSelectedIndex(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
newarray 10
putfield javax.security.auth.callback.ChoiceCallback.selections:[I
1: aload 0
getfield javax.security.auth.callback.ChoiceCallback.selections:[I
iconst_0
iload 1
iastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/security/auth/callback/ChoiceCallback;
0 3 1 selection I
MethodParameters:
Name Flags
selection
public void setSelectedIndexes(int[]);
descriptor: ([I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.security.auth.callback.ChoiceCallback.multipleSelectionsAllowed:Z
ifne 2
1: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.security.auth.callback.ChoiceCallback.selections:[I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/security/auth/callback/ChoiceCallback;
0 4 1 selections [I
MethodParameters:
Name Flags
selections
public int[] getSelectedIndexes();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.security.auth.callback.ChoiceCallback.selections:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/security/auth/callback/ChoiceCallback;
}
SourceFile: "ChoiceCallback.java"