mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
12 lines
259 B
Java
12 lines
259 B
Java
class A {
|
|
int getContentElementType() {
|
|
return 0;
|
|
}
|
|
|
|
void method() {
|
|
final int i = getContentElementType();
|
|
switch (i) {
|
|
default: throw new IllegalArgumentException("Wrong content type: " + i);
|
|
}
|
|
}
|
|
} |