ItemToReplaceDescriptor (@NotNull PsiField field) { String fieldName = field.getName(); if (!PsiReflectionAccessUtil.isAccessibleType(field.getType())) { return new FieldDeclarationDescriptor(field, fieldName); } return null; }