Package rocket.generator.rebind.type

Examples of rocket.generator.rebind.type.NewConcreteTypeImpl


   * @return The new concrete type.
   */
  public NewConcreteType newConcreteType(final String name) {
    Checker.notEmpty("parameter:name", name );
   
    NewConcreteTypeImpl type = null;

    final PrintWriter printWriter = this.tryCreateTypePrintWriter(name);
    if (null != printWriter) {
      type = new NewConcreteTypeImpl();
      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

Related Classes of rocket.generator.rebind.type.NewConcreteTypeImpl

Copyright © 2018 www.massapicom. 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.