private void methodObject(@NlsSafe String name, String returnType, @Nullable String navigationClass) {
      methodObject(name, returnType, navigationClass, null);
    }
private void methodObject(@NlsSafe String name, String returnType, @Nullable String navigationClass)