|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.classLoader.ShrikeBTMethod
com.ibm.wala.classLoader.ShrikeCTMethod
public final class ShrikeCTMethod
A wrapper around a Shrike object that represents a method
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ibm.wala.classLoader.ShrikeBTMethod |
|---|
ShrikeBTMethod.BytecodeInfo |
| Field Summary |
|---|
| Fields inherited from class com.ibm.wala.classLoader.ShrikeBTMethod |
|---|
declaringClass |
| Constructor Summary | |
|---|---|
ShrikeCTMethod(IClass klass,
int index)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
computeGenericsSignature()
|
byte[] |
getBytecodes()
|
ClassHierarchy |
getClassHierarchy()
|
protected java.lang.String[] |
getDeclaredExceptionTypeNames()
|
java.lang.String |
getLocalVariableName(int bcIndex,
int localNumber)
|
int |
getMaxLocals()
|
int |
getMaxStackHeight()
|
protected java.lang.String |
getMethodName()
|
protected java.lang.String |
getMethodSignature()
|
MethodTypeSignature |
getMethodTypeSignature()
UNDER CONSTRUCTION |
protected int |
getModifiers()
|
TypeReference |
getReturnType()
|
java.util.Collection<Annotation> |
getRuntimeInvisibleAnnotations()
read the runtime-invisible annotations from the class file |
boolean |
hasExceptionHandler()
|
boolean |
hasLocalVariableTable()
|
protected Decoder |
makeDecoder()
Find the decoder object for this method, or create one if necessary. |
protected void |
processDebugInfo(ShrikeBTMethod.BytecodeInfo bcInfo)
Walk through the bytecodes and collect trivial information. |
| Methods inherited from class com.ibm.wala.classLoader.ShrikeBTMethod |
|---|
clearCaches, equals, getArraysRead, getArraysWritten, getBCInfo, getBytecodeIndex, getBytecodeStream, getCastTypes, getCaughtExceptionTypes, getDeclaredExceptions, getDeclaringClass, getDescriptor, getFieldsRead, getFieldsWritten, getHandlers, getImplicitExceptionTypes, getInstructions, getLineNumber, getName, getNumberOfParameters, getParameterType, getReference, getSelector, getSignature, hashCode, hasMonitorOp, isAbstract, isClinit, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, isVolatile, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.wala.classLoader.IMethod |
|---|
getDeclaredExceptions, getDescriptor, getLineNumber, getNumberOfParameters, getParameterType, getReference, getSelector, getSignature, isAbstract, isClinit, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic |
| Methods inherited from interface com.ibm.wala.classLoader.IMember |
|---|
getDeclaringClass, getName, isStatic, isVolatile |
| Constructor Detail |
|---|
public ShrikeCTMethod(IClass klass,
int index)
| Method Detail |
|---|
public byte[] getBytecodes()
getBytecodes in class ShrikeBTMethod
protected java.lang.String getMethodName()
throws InvalidClassFileException
getMethodName in class ShrikeBTMethodInvalidClassFileException
protected java.lang.String getMethodSignature()
throws InvalidClassFileException
getMethodSignature in class ShrikeBTMethodInvalidClassFileExceptionprotected int getModifiers()
getModifiers in class ShrikeBTMethodprotected Decoder makeDecoder()
ShrikeBTMethod
makeDecoder in class ShrikeBTMethodpublic int getMaxLocals()
getMaxLocals in interface IMethodgetMaxLocals in class ShrikeBTMethodpublic int getMaxStackHeight()
getMaxStackHeight in interface IMethodgetMaxStackHeight in class ShrikeBTMethodpublic boolean hasExceptionHandler()
hasExceptionHandler in interface IMethodhasExceptionHandler in class ShrikeBTMethod
protected java.lang.String[] getDeclaredExceptionTypeNames()
throws InvalidClassFileException
getDeclaredExceptionTypeNames in class ShrikeBTMethodInvalidClassFileException
protected void processDebugInfo(ShrikeBTMethod.BytecodeInfo bcInfo)
throws InvalidClassFileException
ShrikeBTMethod
processDebugInfo in class ShrikeBTMethodInvalidClassFileException
public java.lang.String getLocalVariableName(int bcIndex,
int localNumber)
throws InvalidClassFileException
getLocalVariableName in interface IMethodgetLocalVariableName in class ShrikeBTMethodInvalidClassFileExceptionpublic boolean hasLocalVariableTable()
hasLocalVariableTable in interface IMethodhasLocalVariableTable in class ShrikeBTMethod
protected java.lang.String computeGenericsSignature()
throws InvalidClassFileException
computeGenericsSignature in class ShrikeBTMethodInvalidClassFileExceptionpublic TypeReference getReturnType()
getReturnType in interface IMethodpublic ClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDweller
public MethodTypeSignature getMethodTypeSignature()
throws InvalidClassFileException
InvalidClassFileException
public java.util.Collection<Annotation> getRuntimeInvisibleAnnotations()
throws InvalidClassFileException,
RuntimeInvisibleAnnotationsReader.UnimplementedException
InvalidClassFileException
RuntimeInvisibleAnnotationsReader.UnimplementedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||