public class ClassUtils extends Object
Constructor and Description |
---|
ClassUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
extendsClass(Class<?> clazz,
String className)
Checks if a class is a subclass of a class with the specified name.
|
public static boolean extendsClass(Class<?> clazz, String className)
clazz
- The class to checkclassName
- The class name to look for in the super classesCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.