code: public void export(Class c, String prefix) {
          checkTypeCompatibility(c);
          for (final Field field : (declaredFieldsOnly ? c.getDeclaredFields() : c.getFields())) {
              if (Modifier.isStatic(field.getModifiers())) {
                  Export export = field.getAnnotation(Export.class);
                  loadMemberVariable(field, export, c, true, prefix, null);
              }
          }
          for (final Method method : (declaredFieldsOnly ? c.getDeclaredMethods() : c.getMethods())) {
              if (Modifier.isStatic(method.getModifiers())) {
                  Export export = method.getAnnotation(Export.class);
                  loadMemberVariable(method, export, c, true, prefix, null);
              }
          }
      }
docs: Export all public static fields and methods of a given class that are annotated with
  {@link com.indeed.util.varexport.Export}.
  @param c class to export
  @param prefix prefix for variable names (e.g. "mywidget-")