mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// "Create Method 'foo'" "true"
|
||||
interface Comparable<T> {
|
||||
}
|
||||
|
||||
class R implements Comparable<R> {
|
||||
|
||||
}
|
||||
|
||||
class A1<T> {
|
||||
public T foo() {
|
||||
<selection>return null; //To change body of created methods use File | Settings | File Templates.<caret></selection>
|
||||
}
|
||||
}
|
||||
|
||||
class B1 {
|
||||
A1<R> a;
|
||||
void foo (Comparable<R> c) {
|
||||
c = a.foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user