mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
12 lines
224 B
Java
12 lines
224 B
Java
// "Create inner class 'MyRunnable'" "true-preview"
|
|
public class Test {
|
|
void bar(Class<? extends Runnable> c) {
|
|
}
|
|
|
|
void foo() {
|
|
bar(MyRunnable.class);
|
|
}
|
|
|
|
private class MyRunnable implements Runnable {
|
|
}
|
|
} |