mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
create from usage: setup extends/implements list according to created pairs (IDEA-160973)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Create inner class 'MyRunnable'" "true"
|
||||
public class Test {
|
||||
void bar(Class<? extends Runnable> c) {
|
||||
}
|
||||
|
||||
void foo() {
|
||||
bar(MyRunnable.class);
|
||||
}
|
||||
|
||||
private class MyRunnable implements Runnable {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Create inner class 'MyRunnable'" "true"
|
||||
public class Test {
|
||||
void bar(Class<? extends Runnable> c) {
|
||||
}
|
||||
|
||||
void foo() {
|
||||
bar(My<caret>Runnable.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user