public class ClassHelper extends Object
AccessController
.Modifier and Type | Method and Description |
---|---|
static void |
fillFullClassHierarchyAsList(List<Class<?>> allClasses,
Class<?> clazz)
Fill the list with the full class/interface hierarchy of the given class.
|
static Class<?> |
getClass(String className)
Deprecated.
Will be removed for security reasons.
Perform ClassUtils.getClass functions with Java 2 Security enabled.
|
static Class<?> |
getClass(String className,
boolean initialize)
Deprecated.
Will be removed for security reasons.
Perform ClassUtils.getClass functions with Java 2 Security enabled.
|
public static void fillFullClassHierarchyAsList(List<Class<?>> allClasses, Class<?> clazz)
allClasses
- The current list of classes in the hierarchy.clazz
- The current class, root of the hierarchy to traverse.@Deprecated public static Class<?> getClass(String className) throws ClassNotFoundException
ClassNotFoundException
@Deprecated public static Class<?> getClass(String className, boolean initialize) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.