PsiAnnotation (PsiClass subjectAnnotation, String annotationToFind) { return CachedValuesManager.getCachedValue(subjectAnnotation, () -> { ConcurrentMap<String, PsiAnnotation> metaAnnotationsMap = ConcurrentFactoryMap.createMap( anno -> findMetaAnnotation(subjectAnnotation, anno, new HashSet<>())); return Result.create(metaAnnotationsMap, UastModificationTracker.getInstance(subjectAnnotation.getProject())); }).get(annotationToFind); }