public abstract class javax.sound.sampled.EnumControl extends javax.sound.sampled.Control
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.sound.sampled.EnumControl
super_class: javax.sound.sampled.Control
{
private final java.lang.Object[] values;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object value;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
protected void <init>(javax.sound.sampled.EnumControl$Type, java.lang.Object[], java.lang.Object);
descriptor: (Ljavax/sound/sampled/EnumControl$Type;[Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial javax.sound.sampled.Control.<init>:(Ljavax/sound/sampled/Control$Type;)V
1: aload 0
aload 2
putfield javax.sound.sampled.EnumControl.values:[Ljava/lang/Object;
2: aload 0
aload 3
putfield javax.sound.sampled.EnumControl.value:Ljava/lang/Object;
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/sound/sampled/EnumControl;
0 4 1 type Ljavax/sound/sampled/EnumControl$Type;
0 4 2 values [Ljava/lang/Object;
0 4 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
type
values
value
public void setValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.sound.sampled.EnumControl.isValueSupported:(Ljava/lang/Object;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Requested value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.sound.sampled.EnumControl.value:Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sound/sampled/EnumControl;
0 4 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.EnumControl.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/EnumControl;
public java.lang.Object[] getValues();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.EnumControl.values:[Ljava/lang/Object;
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/EnumControl;
private boolean isValueSupported(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield javax.sound.sampled.EnumControl.values:[Ljava/lang/Object;
iload 2
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield javax.sound.sampled.EnumControl.values:[Ljava/lang/Object;
arraylength
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/sound/sampled/EnumControl;
0 7 1 value Ljava/lang/Object;
1 6 2 i I
MethodParameters:
Name Flags
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual javax.sound.sampled.EnumControl.getType:()Ljavax/sound/sampled/Control$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " with current value: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual javax.sound.sampled.EnumControl.getValue:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/EnumControl;
}
SourceFile: "EnumControl.java"
NestMembers:
javax.sound.sampled.EnumControl$Type
InnerClasses:
public Type = javax.sound.sampled.Control$Type of javax.sound.sampled.Control
public Type = javax.sound.sampled.EnumControl$Type of javax.sound.sampled.EnumControl