mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
highlight all pairs of methods with same erasures (IDEA-124116)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.List;
|
||||
|
||||
class MyClass {
|
||||
<error descr="'method1(Comparable<Integer>)' clashes with 'method1(Comparable<Boolean>)'; both methods have same erasure">void method1 (Comparable<Integer> c)</error> {}
|
||||
void method1(Comparable<Boolean> c) {}
|
||||
|
||||
<error descr="'method2(List<Integer>)' clashes with 'method2(List<Boolean>)'; both methods have same erasure">void method2(List<Integer> l)</error> {}
|
||||
void method2(List<Boolean> l) {}
|
||||
}
|
||||
Reference in New Issue
Block a user