Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/genericCreateFromUsage/after4.java
2012-05-16 12:26:08 +04:00

20 lines
355 B
Java

// "Create Method 'foo'" "true"
interface Comparable<T> {
}
class R implements Comparable<R> {
}
class A1<T> {
public T foo() {
<caret><selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
}
}
class B1 {
A1<R> a;
void foo (Comparable<R> c) {
c = a.foo();
}
}