mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
remove incorrect qualified name check; provide tests (IDEA-71870) [r=jeka]
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
import java.lang.Comparable;
|
||||
import java.lang.Integer;
|
||||
import java.lang.Override;
|
||||
import java.lang.Runnable;
|
||||
|
||||
public class ManyClasses {
|
||||
public void foo() {
|
||||
Runnable r = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
Comparable<Integer> c = new Comparable<Integer>() {
|
||||
@Override
|
||||
public int compareTo(Integer o) {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
class FooLocal {
|
||||
Runnable r = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public void bar() {
|
||||
class FooLocal implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class Child {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Local {
|
||||
public static class Sub {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user