mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 00:29:34 +07:00
21 lines
460 B
Java
21 lines
460 B
Java
class C {
|
|
public static final int A = 1, B = 2, C = 3, D = 4, E = 5;
|
|
|
|
void foo(int x) {
|
|
|
|
newMethod(x, 1, "A" + "B" + "C" + "D" + "E" + 1);
|
|
|
|
|
|
newMethod(x, 2, "A" + "B" + "C" + "D" + "E" + 2);
|
|
|
|
if (x <= A + B + C + D + E + 2)
|
|
bar("A" + "B" + "C" + "D" + "E" + 2);
|
|
}
|
|
|
|
private void newMethod(int x, int i, String s) {
|
|
if (x >= A + B + C + D + E + i)
|
|
bar(s);
|
|
}
|
|
|
|
void bar(String s) {}
|
|
} |