mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
11 lines
324 B
Java
11 lines
324 B
Java
class Test {
|
|
final String f1 = "field";
|
|
String test(boolean condition){
|
|
final String f2 = "variable";
|
|
<selection>int x = 42;
|
|
if (condition) return f1 + f2 + "literal";
|
|
if (!condition) return f1+f2+"literal";</selection>
|
|
System.out.println(x);
|
|
return "default";
|
|
}
|
|
} |