mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-24 16:19:28 +07:00
- disable correction by scope for classes inside compact source files GitOrigin-RevId: 44831301a6c14f60d26ae4715df18c4cd24e1ee8
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;
|
|
} |