method refs: move method inside class with method ref usage (EA-57734 - IOE: PsiReferenceExpressionBase.setQualifierExpression)

This commit is contained in:
Anna Kozlova
2014-06-30 20:45:06 +02:00
parent 472b50bc9d
commit 4dd9e672c6
5 changed files with 33 additions and 4 deletions
@@ -0,0 +1,10 @@
class Outer {
static void foo() {}
static class Inner {
}
{
Runnable r = Outer::foo;
}
}
@@ -0,0 +1,9 @@
class Outer {
static class Inner {
static void foo() {}
}
{
Runnable r = Inner::foo;
}
}