|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.util.Inspect
Inspect a class with the reflection API. This class
contains a the useful hasInterface(java.lang.Object, java.lang.Class) method.
| Constructor Summary | |
Inspect()
|
|
| Method Summary | |
static boolean |
hasInterface(java.lang.Class child,
java.lang.Class parent)
Returns whether the class child supports the interface described by parent. |
static boolean |
hasInterface(java.lang.Object a,
java.lang.Class c)
Returns whether the instance a supports the interface described by c. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Inspect()
| Method Detail |
public static boolean hasInterface(java.lang.Object a,
java.lang.Class c)
public static boolean hasInterface(java.lang.Class child,
java.lang.Class parent)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||