Class ReflectionUtil
- java.lang.Object
-
- org.opendaylight.odlparent.featuretest.ReflectionUtil
-
public final class ReflectionUtil extends Object
Utility for class path reflection.- Author:
- Michael Vorburger.ch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addAllClassesInSameAndSubPackageOfClass(org.ops4j.pax.exam.TestProbeBuilder probe, Class<?> clazz)
static void
addAllClassesInSameAndSubPackageOfPackage(org.ops4j.pax.exam.TestProbeBuilder probe, String packageName)
static Stream<Class<?>>
getClasses(ClassLoader classLoader, String packageName)
Returns all classes in the named package, and its sub-packages.
-
-
-
Method Detail
-
addAllClassesInSameAndSubPackageOfClass
public static void addAllClassesInSameAndSubPackageOfClass(org.ops4j.pax.exam.TestProbeBuilder probe, Class<?> clazz)
-
addAllClassesInSameAndSubPackageOfPackage
public static void addAllClassesInSameAndSubPackageOfPackage(org.ops4j.pax.exam.TestProbeBuilder probe, String packageName)
-
getClasses
public static Stream<Class<?>> getClasses(ClassLoader classLoader, String packageName)
Returns all classes in the named package, and its sub-packages.
-
-