@Nullable
  static RefField fieldFromExternalName(RefManager manager, String externalName) {
    return (RefField)manager.getReference(findPsiField(PsiManager.getInstance(manager.getProject()), externalName));
  }
@Nullable
  static RefField fieldFromExternalName(RefManager manager, String externalName)