Package com.cognifide.slice.core.internal.module

Examples of com.cognifide.slice.core.internal.module.AnnotationReader


    List<Bundle> bundles = findBundles(bundleNameFilter);
    BundleClassesFinder classFinder = new BundleClassesFinder(bundles, basePackage);
    classFinder.addFilter(new ClassFilter() {
      @Override
      public boolean accepts(ClassReader classReader) {
        AnnotationReader annotationReader = new AnnotationReader();
        classReader.accept(annotationReader, ClassReader.SKIP_DEBUG);
        return annotationReader.isAnnotationPresent(SliceResource.class);
      }
    });
    return classFinder.getClasses();
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.core.internal.module.AnnotationReader

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.