Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/GenericsOverrideMethodInRawInheritor.java
2013-09-20 12:11:57 +04:00

10 lines
406 B
Java

import java.util.List;
<error descr="'method(List<String>)' in 'Implementation' clashes with 'method(List<String>)' in 'IfcWithGenericMethod'; both methods have same erasure, yet neither overrides the other">class Implementation implements IfcWithGenericMethod</error> {
public void method(final List<String> strings) {}
}
interface IfcWithGenericMethod<T> {
void method(List<String> strings);
}