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

    return null;
  }
@Nullable
  public static ItemToReplaceDescriptor createIfInaccessible(@NotNull PsiField field)