mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
AddAnnotationPsiFix#addPhysicalAnnotationIfAbsent; properly support arrays
Fixes IDEA-177643 Action "Generate Delegate Method" creates double annotation when method parameter is annotated array GitOrigin-RevId: 38ac44f66304df06480fa6ca64993fda72a591a8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f93594a8db
commit
582a922231
+6
-1
@@ -1,4 +1,9 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
package org.jetbrains.annotations;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@Target({ElementType.PARAMETER, ElementType.TYPE_USE})
|
||||
@interface NotNull {}
|
||||
|
||||
class Test1 {
|
||||
void m(@NotNull String... strings) { }
|
||||
|
||||
+6
-1
@@ -1,4 +1,9 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
package org.jetbrains.annotations;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
@Target({ElementType.PARAMETER, ElementType.TYPE_USE})
|
||||
@interface NotNull {}
|
||||
|
||||
class Test1 {
|
||||
void m(@NotNull String... strings) { }
|
||||
|
||||
Reference in New Issue
Block a user