mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 01:20:53 +07:00
17 lines
261 B
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();
|
|
}
|
|
} |