mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
create class from usage: types in wildcard bounds accepted (IDEA-50310 )
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Create Class 'Foo'" "true"
|
||||
import java.util.Collection;
|
||||
public class Test {
|
||||
public Collection<? extends Foo> getSomething() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public class <caret>Foo {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Create Class 'Foo'" "true"
|
||||
import java.util.Collection;
|
||||
public class Test {
|
||||
public Collection<? extends Fo<caret>o> getSomething() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user