Package org.jboss.byteman.agent.check
Interface ClassChecker
-
- All Known Implementing Classes:
BytecodeChecker
public interface ClassChecker
interface hiding how we check the names of a class's super, outer class and implemented interfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getInterface(int idx)
identify the name of a specific interface in the implements list of this classint
getInterfaceCount()
identify how many interfaces are in the implements list of this classjava.lang.String
getSuper()
identify the name of the super class for the checked classboolean
hasOuterClass()
identify if the checked class is embedded in an outer classboolean
isInterface()
see if the checked class is an interface or really a class
-
-
-
Method Detail
-
isInterface
boolean isInterface()
see if the checked class is an interface or really a class- Returns:
- true if the checked class is an interface and false if it is really a class
-
getSuper
java.lang.String getSuper()
identify the name of the super class for the checked class- Returns:
- the name of the super class for the checked class
-
hasOuterClass
boolean hasOuterClass()
identify if the checked class is embedded in an outer class- Returns:
- true if the checked class is embedded in an outer class otherwise false
-
getInterfaceCount
int getInterfaceCount()
identify how many interfaces are in the implements list of this class- Returns:
- how many interfaces are in the implements list of this class
-
getInterface
java.lang.String getInterface(int idx)
identify the name of a specific interface in the implements list of this class- Parameters:
idx
- the index of the interface in the list- Returns:
- the name of a specific interface in the implements list of this class
-
-