mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
provide extends/implements list for class object expression (IDEA-70858)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
|
||||
private class Foo extends Number {
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? extends Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
|
||||
private class Foo extends Number {
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? super Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
|
||||
private class Foo {
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? extends Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o);
|
||||
}
|
||||
|
||||
private class Foo {
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? extends Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? super Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o.class);
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// "Create Inner Class 'Foo'" "true"
|
||||
public class Test {
|
||||
void foo(Class<? extends Number> n){}
|
||||
void bar() {
|
||||
foo(Fo<caret>o);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user