mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 052d3bf8a26c376c7dfc5b1e370e583cf6236138
14 lines
324 B
Java
14 lines
324 B
Java
package pck;
|
|
|
|
class A {
|
|
public void bar(I a, Class<Long> any) {
|
|
System.out.println(a.with(any));
|
|
}
|
|
|
|
interface I {
|
|
<error descr="'with(Class<T>)' clashes with 'with(Class<Long>)'; both methods have same erasure"><T> T with(Class<T> aClass);</error>
|
|
long with(Class<Long> aClass);
|
|
}
|
|
}
|
|
|