public static class ResourceSpec {
    public static IComponentSpec getInstance() {
      return S.getResourceSpec();
    }

    public static final JsResource RESOURCE = S.getJsResource();
    public static final IJsResourceRef REF = S.getJsResourceRef();
  }
@org.ebayopensource.dsf.resource.utils.CodeGen("JsrGenerator")
public class NullPointerExceptionJsr extends RuntimeExceptionJsr {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData(
          "vjo.java.lang.NullPointerException",
          NullPointerExceptionJsr.class,
          "NullPointerException");

  public static class ResourceSpec {
    public static IComponentSpec getInstance() {
      return S.getResourceSpec();
    }

    public static final JsResource RESOURCE = S.getJsResource();
    public static final IJsResourceRef REF = S.getJsResourceRef();
  }

  public static final IComponentSpec SPEC =
      S.getResourceSpec().addDependentComponent(RuntimeExceptionJsr.ResourceSpec.getInstance());

  protected NullPointerExceptionJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }
}
Example #3
0
@org.ebayopensource.dsf.resource.utils.CodeGen("JsrGenerator")
public class LinkedHashSetJsr<E> extends HashSetJsr<E> implements SetJsr<E>, CloneableJsr {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("vjo.java.util.LinkedHashSet", LinkedHashSetJsr.class, "LinkedHashSet");

  public static class ResourceSpec {
    public static IComponentSpec getInstance() {
      return S.getResourceSpec();
    }

    public static final JsResource RESOURCE = S.getJsResource();
    public static final IJsResourceRef REF = S.getJsResourceRef();
  }

  public static final IComponentSpec SPEC =
      S.getResourceSpec()
          .addDependentComponent(MathJsr.ResourceSpec.getInstance())
          .addDependentComponent(vjo.java.util.CollectionJsr.ResourceSpec.getInstance())
          .addDependentComponent(SetJsr.ResourceSpec.getInstance())
          .addDependentComponent(CloneableJsr.ResourceSpec.getInstance())
          .addDependentComponent(HashSetJsr.ResourceSpec.getInstance());

  protected LinkedHashSetJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }
}
 public static IComponentSpec getInstance() {
   return S.getResourceSpec();
 }