mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
11 lines
279 B
Java
11 lines
279 B
Java
class A {
|
|
int getContentElementType() {
|
|
return 0;
|
|
}
|
|
|
|
void method() {
|
|
switch (<selection>getContentElementType()</selection>) {
|
|
default: throw new IllegalArgumentException("Wrong content type: " + getContentElementType());
|
|
}
|
|
}
|
|
} |