boolean (@NotNull PsiAnnotation psiAnnotation, @NotNull PsiClass psiClass, @NotNull ProblemSink builder) { boolean result = true; if (!validateAnnotationOnRightType(psiClass, builder)) { result = false; } if (!validateVisibility(psiAnnotation)) { result = false; } if (!validateBaseClassConstructor(psiClass, builder)) { result = false; } return result; }