mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
move instance method when ref was inside anonymous inheritor (EA-87325 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText)
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
|
||||
class A<T> {
|
||||
void moo(B b) {
|
||||
System.out.println(b.foo);
|
||||
}
|
||||
|
||||
class B {
|
||||
private String foo;
|
||||
|
||||
public void run() {
|
||||
new B() {
|
||||
@Override
|
||||
public void run() {
|
||||
A.this.moo(this);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user