org.jboss.byteman.agent.check
Interface ClassChecker

All Known Implementing Classes:
BytecodeChecker, LoadedClassChecker

public interface ClassChecker

interface hiding how we check the names of a class's super, outer class and implemented interfaces.


Method Summary
 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
 

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