Package org.reflections.scanners

Examples of org.reflections.scanners.SubTypesScanner


                Constants.DISCONF_PACK_NAME).includePackage(packName);

        //
        Reflections reflections = new Reflections(new ConfigurationBuilder()
                .filterInputsBy(filter)
                .setScanners(new SubTypesScanner().filterResultsBy(filter),
                        new TypeAnnotationsScanner().filterResultsBy(filter),
                        new FieldAnnotationsScanner().filterResultsBy(filter),
                        new MethodAnnotationsScanner().filterResultsBy(filter),
                        new MethodParameterScanner())
                .setUrls(ClasspathHelper.forPackage(packName)));
View Full Code Here


      config.setUrls(ClasspathHelper.forPackage(prefix));
    } else {
      config.setUrls(ClasspathHelper.forJavaClassPath());
    }
   
    return config.setScanners(new SubTypesScanner());
  }
View Full Code Here

TOP

Related Classes of org.reflections.scanners.SubTypesScanner

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.