Package uk.co.badgersinfoil.metaas.dom

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


  public void removeCompilationUnit(ASCompilationUnit cu) {
    compilationUnits.remove(cu);
  }
  public ASCompilationUnit newClass(String qualifiedClassName) {
    ASCompilationUnit cu = fact.newClass(qualifiedClassName);
    addCompilationUnit(cu);
    return cu;
  }
View Full Code Here


    ASCompilationUnit cu = fact.newClass(qualifiedClassName);
    addCompilationUnit(cu);
    return cu;
  }
  public ASCompilationUnit newInterface(String qualifiedInterfaceName) {
    ASCompilationUnit cu = fact.newInterface(qualifiedInterfaceName);
    addCompilationUnit(cu);
    return cu;
  }
View Full Code Here

    this.outputLocation = outputLocation;
  }

  public void writeAll() throws IOException {
    for (Iterator i=compilationUnits.iterator(); i.hasNext(); ) {
      ASCompilationUnit cu = (ASCompilationUnit)i.next();
      write(outputLocation, cu);
    }
  }
View Full Code Here

 
  public void beginProxy(Type proxy, Type baseType, Type interfaceType) {
    logger.info("Creating ActionScript proxy {}", proxy.getName());

    ASCompilationUnit eventUnit = project.newClass(proxy.getName() + "Events");
    proxyUnit = project.newClass(proxy.getName());

    eventType = (ASClassType) eventUnit.getType();
    proxyType = (ASClassType) proxyUnit.getType();

    proxyType.addImplementedInterface(interfaceType.getName());

    proxyImports = new TreeSet<String>();
View Full Code Here

 
  public void beginProxy(Type proxy, Type baseType, Type interfaceType) {
    logger.info("Creating ActionScript proxy {}", proxy.getName());

    ASCompilationUnit eventUnit = project.newClass(proxy.getName() + "Events");
    proxyUnit = project.newClass(proxy.getName());

    eventType = (ASClassType) eventUnit.getType();
    proxyType = (ASClassType) proxyUnit.getType();

    proxyType.addImplementedInterface(interfaceType.getName());

    proxyImports = new TreeSet<String>();
View Full Code Here

 
  public void beginProxy(Type proxy, Type baseType, Type interfaceType) {
    logger.info("Creating ActionScript proxy {}", proxy.getName());

    ASCompilationUnit eventUnit = project.newClass(proxy.getName() + "Events");
    proxyUnit = project.newClass(proxy.getName());

    eventType = (ASClassType) eventUnit.getType();
    proxyType = (ASClassType) proxyUnit.getType();

    proxyType.addImplementedInterface(interfaceType.getName());

    proxyImports = new TreeSet<String>();
View Full Code Here

TOP

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

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.