Package cn.bran.japid.compiler

Examples of cn.bran.japid.compiler.TranslateTemplateTask.addAnnotation()


    t.setInclude(new File(rootDir, DirUtil.JAPIDVIEWS_ROOT));
    t.clearImports();
    t.importStatic(JapidPlayAdapter.class);
    t.importStatic(Validation.class);
    t.importStatic(JavaExtensions.class);
    t.addAnnotation(NoEnhance.class);
    if (DirUtil.hasLayouts(root))
      t.addImport(DirUtil.JAPIDVIEWS_ROOT + "._layouts.*");
    if (DirUtil.hasJavaTags(root))
      t.addImport(DirUtil.JAPIDVIEWS_ROOT + "._javatags.*");
    if (DirUtil.hasTags(root))
View Full Code Here


    t.setPackageRoot(rootDir);
    t.setInclude(new File(rootDir, JapidPlugin.JAPIDVIEWS_ROOT));
    t.importStatic(JapidPlayAdapter.class);
    t.importStatic(Validation.class);
    t.importStatic(JavaExtensions.class);
    t.addAnnotation(NoEnhance.class);
    t.addImport(JapidPlugin.JAPIDVIEWS_ROOT + "._layouts.*");
    t.addImport(JapidPlugin.JAPIDVIEWS_ROOT + "._javatags.*");
    t.addImport(JapidPlugin.JAPIDVIEWS_ROOT + "._tags.*");
    t.addImport(play.mvc.Scope.class.getName() + ".*");
    t.addImport(play.i18n.Messages.class);
 
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.