boolean (@NotNull PsiAnnotation psiAnnotation, @NotNull PsiClass psiClass, @NotNull String annotationParameter, @NotNull ConfigKey configKey) { final boolean result; final Boolean declaredAnnotationValue = PsiAnnotationUtil.getDeclaredBooleanAnnotationValue(psiAnnotation, annotationParameter); if (null == declaredAnnotationValue) { result = configDiscovery.getBooleanLombokConfigProperty(configKey, psiClass); } else { result = declaredAnnotationValue; } return result; }