more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 10:48:17 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions

View File

@@ -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();
}
}