mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
IDEA-108454 (test added)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
// "Implement Methods" "true"
|
||||
enum E {
|
||||
A {
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
};
|
||||
abstract void foo();
|
||||
A {
|
||||
@Override
|
||||
public int foo() {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
|
||||
public abstract int foo();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// "Implement Methods" "true"
|
||||
class Test {
|
||||
class A<T> {
|
||||
public class Inner { }
|
||||
}
|
||||
|
||||
interface B<T> {
|
||||
T foo();
|
||||
}
|
||||
|
||||
class D implements B<A<String>.Inner> {
|
||||
@Override
|
||||
public A<String>.Inner foo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
// "Implement Methods" "true"
|
||||
enum E {
|
||||
<caret>A;
|
||||
public abstract void foo();
|
||||
<caret>A;
|
||||
|
||||
public abstract int foo();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// "Implement Methods" "true"
|
||||
class Test {
|
||||
class A<T> {
|
||||
public class Inner { }
|
||||
}
|
||||
|
||||
interface B<T> {
|
||||
T foo();
|
||||
}
|
||||
|
||||
<caret>class D implements B<A<String>.Inner> { }
|
||||
}
|
||||
Reference in New Issue
Block a user