|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.byteman.agent.check.BytecodeChecker
public class BytecodeChecker
a private class which can be used to derive the super and interfaces of a class from its defining bytecode
Field Summary | |
---|---|
(package private) ClassStructureAdapter |
adapter
|
Constructor Summary | |
---|---|
BytecodeChecker(byte[] buffer)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
ClassStructureAdapter adapter
Constructor Detail |
---|
public BytecodeChecker(byte[] buffer)
Method Detail |
---|
public boolean isInterface()
ClassChecker
isInterface
in interface ClassChecker
public java.lang.String getSuper()
ClassChecker
getSuper
in interface ClassChecker
public boolean hasOuterClass()
ClassChecker
hasOuterClass
in interface ClassChecker
public int getInterfaceCount()
ClassChecker
getInterfaceCount
in interface ClassChecker
public java.lang.String getInterface(int idx)
ClassChecker
getInterface
in interface ClassChecker
idx
- the index of the interface in the list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |