mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 11:20:55 +07:00
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);
|
|
}
|
|
}
|
|
|