mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
- disable correction by scope for classes inside compact source files (cherry picked from commit 44831301a6c14f60d26ae4715df18c4cd24e1ee8) IJ-CR-175022 GitOrigin-RevId: 7240e79a4db2222006d0c32fdab7e38d4b167dde
27 lines
379 B
Java
27 lines
379 B
Java
void main() {
|
|
new A() { public void a() {}}.a();
|
|
new A.B() { public void a() {}}.b();
|
|
|
|
|
|
var user = new MyUser();
|
|
user.name = "test";
|
|
}
|
|
|
|
interface A {
|
|
void a();
|
|
interface B extends A {
|
|
default void b() {
|
|
a();
|
|
}
|
|
}
|
|
}
|
|
|
|
class Person{
|
|
public String name;
|
|
public int age;
|
|
}
|
|
|
|
class MyUser extends Person{
|
|
public String email;
|
|
public String password;
|
|
} |