Class ClassFinder
java.lang.Object
net.thucydides.model.reflection.ClassFinder
-
Method Summary
Modifier and TypeMethodDescriptionannotatedWith(Class annotation) fromPackage(String packageName) Scans all classes accessible from the context class loader which belong to the given package and subpackages.getClasses(String packageName) Scans all classes accessible from the context class loader which belong to the given package and subpackages.static ClassFinderthatImplement(Class<?> parentInterface)
-
Method Details
-
loadClasses
-
annotatedWith
-
fromPackage
-
getClasses
Scans all classes accessible from the context class loader which belong to the given package and subpackages. Adapted from http://snippets.dzone.com/posts/show/4831 and extended to support use of JAR files- Parameters:
packageName- The base package- Returns:
- The classes
-
thatImplement
-
thatMatch
-