boolean (@NotNull PsiAnnotation psiAnnotation, @NotNull String parameter, boolean defaultValue) { final Boolean result = psiAnnotation.hasAttribute(parameter) ? AnnotationUtil.getBooleanAttributeValue(psiAnnotation, parameter) : null; return result == null ? defaultValue : result; }