Package com.artemis.weaver

Examples of com.artemis.weaver.EsOptimizationTransmuter


    if (meta.annotation != WeaverType.NONE) {
      ComponentTypeTransmuter weaver = new ComponentTypeTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
    } else if (meta.sysetemOptimizable != OptimizationType.NOT_OPTIMIZABLE) {
      EsOptimizationTransmuter weaver = new EsOptimizationTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
    }
   
    assertEquals("", ClassUtil.verifyClass(cw));
   
    classStream.close();
View Full Code Here


  private static void optimizeEntitySystem(ExecutorService threadPool, String file) {
    ClassReader cr = classReaderFor(file);
    ClassMetadata meta = scan(cr);
   
    if (meta.sysetemOptimizable != OptimizationType.NOT_OPTIMIZABLE)
      threadPool.submit(new EsOptimizationTransmuter(file, cr, meta));
  }
View Full Code Here

TOP

Related Classes of com.artemis.weaver.EsOptimizationTransmuter

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.