mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 382b49a3927e84a463350abf9ed0d36ad76ab633
18 lines
240 B
Java
18 lines
240 B
Java
class Test {
|
|
|
|
static class B {
|
|
int getX(){
|
|
return 42;
|
|
}
|
|
}
|
|
|
|
void test(){
|
|
int x = newMethod();
|
|
System.out.println(x);
|
|
}
|
|
|
|
private int newMethod() {
|
|
int x = new B().getX();
|
|
return x;
|
|
}
|
|
} |