IDEA-122133 (type annotations skipped from copying into generated parameter)

This commit is contained in:
Roman Shevchenko
2015-06-29 14:42:18 +03:00
parent a1ab3dca60
commit 2d7590996e
6 changed files with 64 additions and 49 deletions

View File

@@ -1,17 +0,0 @@
// "Implement methods" "true"
import java.lang.annotation.*;
import java.util.*;
@Target(ElementType.TYPE_USE)
@interface TA { int value() default 0; }
interface I {
@TA List<@TA String> i(@TA int p1, @TA(1) int @TA(2) [] p2 @TA(3) []) throws @TA IllegalArgumentException;
}
class C implements I {
@Override
public @TA List<@TA String> i(@TA int p1, @TA(1) int @TA(2) [] @TA(3) [] p2) throws @TA IllegalArgumentException {
return null;
}
}

View File

@@ -1,13 +0,0 @@
// "Implement methods" "true"
import java.lang.annotation.*;
import java.util.*;
@Target(ElementType.TYPE_USE)
@interface TA { int value() default 0; }
interface I {
@TA List<@TA String> i(@TA int p1, @TA(1) int @TA(2) [] p2 @TA(3) []) throws @TA IllegalArgumentException;
}
<caret>class C implements I {
}