boolean (PsiMethod method) { List<String> annotations = ConcurrencyAnnotationsManager.getInstance(method.getProject()).getImmutableAnnotations(); return AnnotationUtil.findAnnotation(method.getContainingClass(), annotations) != null; }