Examples of NewInterfaceTypeImpl


Examples of rocket.generator.rebind.type.NewInterfaceTypeImpl

   * @param name
   *            The name of the new interface
   * @return The new interface type.
   */
  public NewInterfaceType newInterfaceType(final String name) {
    NewInterfaceTypeImpl type = null;

    final PrintWriter printWriter = this.tryCreateTypePrintWriter(name);
    if (null != printWriter) {
      type = new NewInterfaceTypeImpl();
      type.setGeneratorContext(this);
      type.setName(name);
      type.setPrintWriter(printWriter);
      type.setSuperType(this.getObject());
      type.setVisibility(Visibility.PUBLIC);

      this.addNewType(type);
    }

    return type;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.