Class Reflections
- java.lang.Object
-
- org.opennms.features.vaadin.jmxconfiggenerator.data.Reflections
-
public abstract class Reflections extends java.lang.Object
This class is a helper class to do some reflection stuff.- Author:
- Markus von RĂ¼den
-
-
Constructor Summary
Constructors Constructor Description Reflections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.Class<?>>
buildClassHierarchy(java.lang.Class<?> clazz)
Gets a list of all parent interfaces and classes implemented/inherit byclazz
.
Example:
-
-
-
Method Detail
-
buildClassHierarchy
public static java.util.List<java.lang.Class<?>> buildClassHierarchy(java.lang.Class<?> clazz)
Gets a list of all parent interfaces and classes implemented/inherit byclazz
.
Example:class A implements Serializable, Clonable { .... } class B extends A implements Comparable { .... } class C extends B { .... } buildClassHierarchy(c.class) returns [C.class, Comparable.class, B.class, Serializable.class, Cloneable.class, A.class]
- Parameters:
clazz
-- Returns:
-
-