class AAA{
void testBoolean(boolean a) {
switch (a) {
case true:
throw new IllegalArgumentException();
case false:
throw new IllegalArgumentException();
}
System.out.println();
}
void testBoolean2(Boolean a) {
switch (a) {
case true:
throw new IllegalArgumentException();
case null:
throw new IllegalArgumentException();
default:
throw new IllegalStateException("Unexpected value: " + a);
}
System.out.println();
}
void testFloat(float a) {
switch (a) {
case 1f:
throw new IllegalArgumentException();
case Number v:
throw new IllegalStateException("Unexpected value: " + a);
}
System.out.println();
}
static void main() {
}
}