code: public void export(Class c, Member member, String prefix, String name) {
          if (!Modifier.isStatic(member.getModifiers())) {
              throw new UnsupportedOperationException(member + " is not static in " + c.getName());
          }
          export((Object)c, member, prefix, name);
      }
docs: Export a given public static {@link Field} or {@link Method} of a given class. The member will be exported
  even if it does not have the {@link Export} annotation. This is mainly useful for exporting variables for which
  you cannot modify the code to add an annotation.
  @param c class from which to export
  @param member Field of Method to export
  @param prefix prefix for variable names (e.g. "mywidget-")
  @param name Name to use for export (optional, will be ignored if Export annotation used)