mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
IDEA-122133 (type annotations skipped from copying into generated parameter)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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 {
|
||||
}
|
||||
Reference in New Issue
Block a user