mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
17 lines
313 B
Java
17 lines
313 B
Java
class Class1 {
|
|
public static int staticMethod() {
|
|
int a = 1;
|
|
int b = 2;
|
|
|
|
return newMethod(a, b);
|
|
}
|
|
|
|
public int foo(int a, int b) {
|
|
return newMethod(a, b);
|
|
}
|
|
|
|
private static int newMethod(int a, int b) {
|
|
int temp = a + b;
|
|
return temp * 2;
|
|
}
|
|
} |