public class AutoClassDiscovery extends Object
Modifier and Type | Field and Description |
---|---|
protected static Map<String,String[]> |
cachedClassNames |
Constructor and Description |
---|
AutoClassDiscovery() |
Modifier and Type | Method and Description |
---|---|
protected static String[] |
findClassesInDirectoryRecursive(File root,
String packagePath) |
static Class[] |
findClassesOfType(String packageNameToSearch,
Class<?> typeDesired) |
static String[] |
findClassNames(String packageNameToSearch) |
static boolean |
hasEmptyConstructor(Class<?> type) |
static boolean |
isPublicConcreteClassOfType(String className,
Class<?> typeDesired) |
protected static String[] findClassesInDirectoryRecursive(File root, String packagePath)
public static Class[] findClassesOfType(String packageNameToSearch, Class<?> typeDesired)
public static boolean isPublicConcreteClassOfType(String className, Class<?> typeDesired)
public static boolean hasEmptyConstructor(Class<?> type)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.