IDEA-108454 (test added)

This commit is contained in:
Roman Shevchenko
2014-03-04 17:42:29 +01:00
parent 7ba0d5326a
commit c6947e3831
5 changed files with 44 additions and 13 deletions

View File

@@ -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();
}

View File

@@ -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;
}
}
}

View File

@@ -1,5 +1,6 @@
// "Implement Methods" "true"
enum E {
<caret>A;
public abstract void foo();
<caret>A;
public abstract int foo();
}

View File

@@ -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> { }
}