[java] IDEA-380264 Fix javadoc of PsiAnnotationOwner.addAnnotation()

Merge-request: IJ-MR-179330
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: e4c2b8ed94d585c82f85828954122e9994704fc8
This commit is contained in:
Marcin Mikosik
2025-10-22 10:06:40 +00:00
committed by intellij-monorepo-bot
parent 9898e5a44b
commit abe801075b
@@ -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