mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
AnnotationUtil#findOwnAnnotations: don't resolve qname if short names don't match
GitOrigin-RevId: cd6b27a99d04ac63697f7f03289656219b0e71d9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
46f7becaf2
commit
699714b125
@@ -105,7 +105,7 @@ public class AnnotationUtil {
|
||||
}
|
||||
List<PsiAnnotation> result = null;
|
||||
for (PsiAnnotation annotation : list.getAnnotations()) {
|
||||
if (annotationNames.contains(annotation.getQualifiedName()) && isApplicableToDeclaration(annotation, list)) {
|
||||
if (ContainerUtil.exists(annotationNames, annotation::hasQualifiedName) && isApplicableToDeclaration(annotation, list)) {
|
||||
if (result == null) {
|
||||
result = new SmartList<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user