mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
24 lines
454 B
Java
24 lines
454 B
Java
class Test {
|
|
|
|
private void test() {
|
|
TestSubject subject = new TestSubject();
|
|
boolean flag = false;
|
|
|
|
if (subject.getSubject2().get<caret>Val() != flag) {
|
|
System.out.println(subject.getSubject2().getVal());
|
|
}
|
|
}
|
|
|
|
public static class TestSubject {
|
|
public TestSubject2 getSubject2() {
|
|
return new TestSubject2();
|
|
}
|
|
}
|
|
|
|
public static class TestSubject2 {
|
|
public boolean getVal() {
|
|
return true;
|
|
}
|
|
}
|
|
}
|