Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57338.java

17 lines
261 B
Java

abstract class A {
abstract <T> void foo();
}
abstract class B extends A {
void foo()
{
this.<Integer>foo();
}
}
abstract class C {
void foo()
{
this.<error descr="Method 'foo()' does not have type parameters"><Integer></error>foo();
}
}