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
Modifier and TypeMethodDescriptiongetInterface
(int idx) identify the name of a specific interface in the implements list of this classint
identify how many interfaces are in the implements list of this classgetSuper()
identify the name of the super class for the checked classboolean
identify if the checked class is embedded in an outer classboolean
see if the checked class is an interface or really a class
-
Method Details
-
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
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
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
-