|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.util.Reflection
Reflection utilities.
Method Summary | |
static java.lang.Class[] |
getAllInterfaces(java.lang.Class cls)
Get all the interfaces implemented by a class. |
static java.lang.Class[] |
getAllInterfacesOfType(java.lang.Class cls,
java.lang.Class intface)
Get all the interfaces implemented by the passed in class which extend the specified interface. |
static java.lang.Class[] |
getClassHierarchy(java.lang.Class cls,
java.lang.Class stopClass)
Get class hierarchy. |
static java.lang.Class[] |
getInterfacesOfType(java.lang.Class cls,
java.lang.Class intface)
Get the immediate interfaces implemented by the passed in class which extend the specified interface. |
static java.lang.String |
getShortenedClassName(java.lang.Class cls)
Get the short class name for a class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Class[] getAllInterfacesOfType(java.lang.Class cls, java.lang.Class intface)
cls
- the class to get interfaces forintface
- the interface to filter by. Only subinterfaces of
this interface will be returned.
public static java.lang.Class[] getAllInterfaces(java.lang.Class cls)
cls
- the class to get interfaces for
public static java.lang.Class[] getInterfacesOfType(java.lang.Class cls, java.lang.Class intface)
cls
- the class to get interfaces forintface
- the interface to filter by. Only subinterfaces of
this interface will be returned.
public static java.lang.Class[] getClassHierarchy(java.lang.Class cls, java.lang.Class stopClass)
cls
- the class to get interfaces forstopClass
- the class to stop at, null will be treated as Object.class
public static java.lang.String getShortenedClassName(java.lang.Class cls)
cls
- the class to get the class name for
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |