Package uk.co.badgersinfoil.metaas.dom

Examples of uk.co.badgersinfoil.metaas.dom.ASClassType


 
  public void addField(Type classType, int modifier, Type fieldType, String fieldName, Object value, String comment) {
    fieldType = resolveTypeArguments(classType, null, fieldType);

    ASClassType asClassType = (ASClassType) type;
    if (asClassType.getField(fieldName) == null) asClassType.newField(fieldName, getVisibility(modifier), fieldType.getName());
  }
View Full Code Here


  public void addInterface(Type name) {
    if (type instanceof ASInterfaceType) {
      ASInterfaceType interfaceType = (ASInterfaceType) type;
      interfaceType.addSuperInterface(name.getName());
    } else {
      ASClassType classType = (ASClassType) type;
      classType.addImplementedInterface(name.getName());
    }
    addImport(name.getName());
  }
View Full Code Here

 
  public void addField(Type classType, int modifier, Type fieldType, String fieldName, Object value, String comment) {
    fieldType = resolveTypeArguments(classType, null, fieldType);

    ASClassType asClassType = (ASClassType) type;
    if (asClassType.getField(fieldName) == null) asClassType.newField(fieldName, getVisibility(modifier), fieldType.getName());
  }
View Full Code Here

  public void addInterface(Type name) {
    if (type instanceof ASInterfaceType) {
      ASInterfaceType interfaceType = (ASInterfaceType) type;
      interfaceType.addSuperInterface(name.getName());
    } else {
      ASClassType classType = (ASClassType) type;
      classType.addImplementedInterface(name.getName());
    }
    addImport(name.getName());
  }
View Full Code Here

 
  public void addField(Type classType, int modifier, Type fieldType, String fieldName, Object value, String comment) {
    fieldType = resolveTypeArguments(classType, null, fieldType);

    ASClassType asClassType = (ASClassType) type;
    if (asClassType.getField(fieldName) == null) asClassType.newField(fieldName, getVisibility(modifier), fieldType.getName());
  }
View Full Code Here

  public void addInterface(Type name) {
    if (type instanceof ASInterfaceType) {
      ASInterfaceType interfaceType = (ASInterfaceType) type;
      interfaceType.addSuperInterface(name.getName());
    } else {
      ASClassType classType = (ASClassType) type;
      classType.addImplementedInterface(name.getName());
    }
    addImport(name.getName());
  }
View Full Code Here

TOP

Related Classes of uk.co.badgersinfoil.metaas.dom.ASClassType

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.