boolean (@NotNull PsiElement highlightedElement) { PsiField field = PsiTreeUtil.getParentOfType(highlightedElement, PsiField.class); if (field == null) { return false; } return PsiAnnotationSearchUtil.isAnnotatedWith(field, LombokClassNames.BUILDER_DEFAULT); }