public class LoadedClassChecker extends java.lang.Object implements ClassChecker
| Constructor and Description |
|---|
LoadedClassChecker(java.lang.Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInterface(int idx)
identify the name of a specific interface in the implements list of this class
|
int |
getInterfaceCount()
identify how many interfaces are in the implements list of this class
|
java.lang.String |
getSuper()
identify the name of the super class for the checked class
|
boolean |
hasOuterClass()
identify if the checked class is embedded in an outer class
|
boolean |
isInterface()
see if the checked class is an interface or really a class
|
public boolean isInterface()
ClassCheckerisInterface in interface ClassCheckerpublic java.lang.String getSuper()
ClassCheckergetSuper in interface ClassCheckerpublic boolean hasOuterClass()
ClassCheckerhasOuterClass in interface ClassCheckerpublic int getInterfaceCount()
ClassCheckergetInterfaceCount in interface ClassCheckerpublic java.lang.String getInterface(int idx)
ClassCheckergetInterface in interface ClassCheckeridx - the index of the interface in the listCopyright © 2013. All Rights Reserved.