From abe801075b4c60ddafa8c8d987c006111870057b Mon Sep 17 00:00:00 2001 From: Marcin Mikosik Date: Wed, 22 Oct 2025 10:06:40 +0000 Subject: [PATCH] [java] IDEA-380264 Fix javadoc of PsiAnnotationOwner.addAnnotation() Merge-request: IJ-MR-179330 Merged-by: Marcin Mikosik GitOrigin-RevId: e4c2b8ed94d585c82f85828954122e9994704fc8 --- java/java-psi-api/src/com/intellij/psi/PsiAnnotationOwner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/java-psi-api/src/com/intellij/psi/PsiAnnotationOwner.java b/java/java-psi-api/src/com/intellij/psi/PsiAnnotationOwner.java index aba07ac5d502..38b3a215db20 100644 --- a/java/java-psi-api/src/com/intellij/psi/PsiAnnotationOwner.java +++ b/java/java-psi-api/src/com/intellij/psi/PsiAnnotationOwner.java @@ -45,7 +45,8 @@ public interface PsiAnnotationOwner { } /** - * Adds a new annotation to this owner. The annotation class name will be shortened. No attributes will be defined. + * Adds a new annotation to this owner. The annotation class name will be shortened if that class is already imported. + * No attributes will be defined. * * @param qualifiedName qualifiedName * @return newly added annotation