mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
search for method implementations with correct substitutor
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// "Implement method 'foo'" "true"
|
||||
|
||||
abstract class A<T> {
|
||||
abstract String foo(T t);
|
||||
}
|
||||
|
||||
class B extends A<String> {
|
||||
|
||||
@Override
|
||||
String foo(String s1) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class ABC extends A<Integer> {
|
||||
@Override
|
||||
String foo(Integer integer) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// "Implement method 'foo'" "true"
|
||||
|
||||
abstract class A<T> {
|
||||
abstract String f<caret>oo(T t);
|
||||
}
|
||||
|
||||
class B extends A<String> {
|
||||
|
||||
@Override
|
||||
String foo(String s1) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class ABC extends A<Integer> {}
|
||||
Reference in New Issue
Block a user