mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-26 11:06:22 +07:00
47 lines
771 B
Java
47 lines
771 B
Java
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 {
|
|
|
|
}
|
|
} |