boolean (@NotNull PsiField psiField, @NotNull String lombokLoggerName, boolean lombokLoggerIsStatic) { boolean isPrivate = psiField.hasModifierProperty(PsiModifier.PRIVATE); boolean isStatic = lombokLoggerIsStatic == psiField.hasModifierProperty(PsiModifier.STATIC); boolean isFinal = psiField.hasModifierProperty(PsiModifier.FINAL); boolean isProperlyNamed = lombokLoggerName.equals(psiField.getName()); return isPrivate && isStatic && isFinal && isProperlyNamed; }