Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/implementMethods/beforeNotNullArray.java
Tagir Valeev 983a6c1d3a Inherit type annotations for arrays
Fixes IDEA-240571 "implement method" action works bad with arrays notnulled twice

GitOrigin-RevId: 3014f528f6af966153ae4dc8c821240fca3d9d79
2020-05-20 08:50:34 +00:00

16 lines
357 B
Java

// "Implement methods" "true"
package org.jetbrains.annotations;
import java.lang.annotation.*;
abstract class Test {
abstract void foo(@NotNull String @NotNull[] data);
abstract void foo2(@NotNull String @NotNull ... data);
}
<caret>class TImple extends Test {}
@Target({ElementType.PARAMETER, ElementType.TYPE_USE})
@interface NotNull {}