mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Java: fix PsiClass.getScope() method which was broken by the migration to the new stubs api (IDEA-376896)
GitOrigin-RevId: e204142d2cd57a6cdb83285064ec21fe15b8270b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1030e9fc1f
commit
77536725b9
+12
@@ -0,0 +1,12 @@
|
||||
class NoStaticInInnerClass {
|
||||
|
||||
{
|
||||
new Inner();
|
||||
}
|
||||
|
||||
class Inner {
|
||||
{
|
||||
System.out.println("Sunshine and happiness");
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
@@ -97,4 +97,11 @@ class WithArrayReference {
|
||||
private void <warning descr="Method 'foo()' may be 'static'">foo</warning>() {
|
||||
IntSupplier aNew = Object[]::new;
|
||||
}
|
||||
}
|
||||
class InnerClassScope {
|
||||
class Inner {}
|
||||
|
||||
Inner create() {
|
||||
return new Inner();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user