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:
@@ -0,0 +1,20 @@
|
||||
|
||||
class A<T> {
|
||||
class B {
|
||||
private String foo;
|
||||
|
||||
public void run() {
|
||||
new B() {
|
||||
@Override
|
||||
public void run() {
|
||||
moo(A.this);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void m<caret>oo(A a) {
|
||||
System.out.println(foo);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user