Package org.hightides.annotations.factory

Examples of org.hightides.annotations.factory.CodeFactory


     * classes. Templates are then applied to the classes.
     *
     */
    @SuppressWarnings("rawtypes")
  public void generate(Language language) {
        CodeFactory cf = CodeFactory.getFactory(language);
        for (Class annotation : annotationList) {
            _log.info("============================");
            _log.info("Processing " + annotation.getName() + "...");
            // retrieve the processor for this annotation
            Processor p = cf.getProcessor(annotation);
            // get all classes that are marked with this annotation
            Set<String> serviceClasses = db.getAnnotationIndex().get(
                    annotation.getName());
            if (serviceClasses == null || serviceClasses.size() == 0) {
                _log.info("    No classes found.");
View Full Code Here

TOP

Related Classes of org.hightides.annotations.factory.CodeFactory

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.