public abstract class javax.sound.sampled.BooleanControl 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.BooleanControl
super_class: javax.sound.sampled.Control
{
private final java.lang.String trueStateLabel;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String falseStateLabel;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean value;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected void <init>(javax.sound.sampled.BooleanControl$Type, boolean, java.lang.String, java.lang.String);
descriptor: (Ljavax/sound/sampled/BooleanControl$Type;ZLjava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial javax.sound.sampled.Control.<init>:(Ljavax/sound/sampled/Control$Type;)V
1: aload 0
iload 2
putfield javax.sound.sampled.BooleanControl.value:Z
2: aload 0
aload 3
putfield javax.sound.sampled.BooleanControl.trueStateLabel:Ljava/lang/String;
3: aload 0
aload 4
putfield javax.sound.sampled.BooleanControl.falseStateLabel:Ljava/lang/String;
4: return
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/sound/sampled/BooleanControl;
0 5 1 type Ljavax/sound/sampled/BooleanControl$Type;
0 5 2 initialValue Z
0 5 3 trueStateLabel Ljava/lang/String;
0 5 4 falseStateLabel Ljava/lang/String;
MethodParameters:
Name Flags
type
initialValue
trueStateLabel
falseStateLabel
protected void <init>(javax.sound.sampled.BooleanControl$Type, boolean);
descriptor: (Ljavax/sound/sampled/BooleanControl$Type;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
ldc "true"
ldc "false"
invokespecial javax.sound.sampled.BooleanControl.<init>:(Ljavax/sound/sampled/BooleanControl$Type;ZLjava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sound/sampled/BooleanControl;
0 2 1 type Ljavax/sound/sampled/BooleanControl$Type;
0 2 2 initialValue Z
MethodParameters:
Name Flags
type
initialValue
public void setValue(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.sound.sampled.BooleanControl.value:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sound/sampled/BooleanControl;
0 2 1 value Z
MethodParameters:
Name Flags
value
public boolean getValue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.BooleanControl.value:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/BooleanControl;
public java.lang.String getStateLabel(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 1
aload 0
getfield javax.sound.sampled.BooleanControl.trueStateLabel:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.sound.sampled.BooleanControl.falseStateLabel:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/sampled/BooleanControl;
0 3 1 state Z
MethodParameters:
Name Flags
state
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
new java.lang.StringBuilder
dup
aload 0
invokespecial javax.sound.sampled.Control.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " with current value: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 0
invokevirtual javax.sound.sampled.BooleanControl.getValue:()Z
invokevirtual javax.sound.sampled.BooleanControl.getStateLabel:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/BooleanControl;
}
SourceFile: "BooleanControl.java"
NestMembers:
javax.sound.sampled.BooleanControl$Type
InnerClasses:
public Type = javax.sound.sampled.BooleanControl$Type of javax.sound.sampled.BooleanControl
public Type = javax.sound.sampled.Control$Type of javax.sound.sampled.Control