LombokPsiElementUsage (@NotNull PsiField psiField, @NotNull PsiAnnotation psiAnnotation) { final PsiClass containingClass = psiField.getContainingClass(); if (null != containingClass) { final boolean forceConstructorWithJavaDefaults = isForceConstructor(psiAnnotation); final Collection<PsiField> params = getConstructorFields(containingClass, forceConstructorWithJavaDefaults); if (PsiClassUtil.getNames(params).contains(psiField.getName())) { return LombokPsiElementUsage.WRITE; } } return LombokPsiElementUsage.NONE; }