Package com.ibm.wala.classLoader
Interface IBytecodeMethod
-
- All Superinterfaces:
ContextItem,IClassHierarchyDweller,IMember,IMethod
- All Known Implementing Classes:
ActivityModelMethod,DexIMethod,ShrikeCTMethod
public interface IBytecodeMethod extends IMethod
A method which originated in bytecode, decoded by Shrike
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
Nested classes/interfaces inherited from interface com.ibm.wala.classLoader.IMethod
IMethod.SourcePosition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Annotation>getAnnotations(boolean runtimeVisible)intgetBytecodeIndex(int i)Collection<CallSiteReference>getCallSites()thereExceptionHandler[][]getHandlers()IndirectionDatagetIndirectionData()IInstruction[]getInstructions()Collection<Annotation>[]getParameterAnnotations()-
Methods inherited from interface com.ibm.wala.ipa.cha.IClassHierarchyDweller
getClassHierarchy
-
Methods inherited from interface com.ibm.wala.classLoader.IMember
getAnnotations, getDeclaringClass, getName, isStatic
-
Methods inherited from interface com.ibm.wala.classLoader.IMethod
getDeclaredExceptions, getDescriptor, getLineNumber, getLocalVariableName, getNumberOfParameters, getParameterSourcePosition, getParameterType, getReference, getReturnType, getSelector, getSignature, getSourcePosition, hasExceptionHandler, hasLocalVariableTable, isAbstract, isBridge, isClinit, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic
-
-
-
-
Method Detail
-
getBytecodeIndex
int getBytecodeIndex(int i) throws InvalidClassFileException- Returns:
- the bytecode index corresponding to instruction i in the getInstructions() array
- Throws:
InvalidClassFileException
-
getHandlers
ExceptionHandler[][] getHandlers() throws InvalidClassFileException
- Returns:
- the Shrike representation of the exception handlers
- Throws:
InvalidClassFileException
-
getInstructions
IInstruction[] getInstructions() throws InvalidClassFileException
- Returns:
- the Shrike instructions decoded from the bytecode
- Throws:
InvalidClassFileException
-
getCallSites
Collection<CallSiteReference> getCallSites() throws InvalidClassFileException
there- Returns:
- the call sites declared in the bytecode for this method
- Throws:
InvalidClassFileException
-
getIndirectionData
IndirectionData getIndirectionData()
- Returns:
- information about any indirect uses of local variables
-
getParameterAnnotations
Collection<Annotation>[] getParameterAnnotations()
-
getAnnotations
Collection<Annotation> getAnnotations(boolean runtimeVisible) throws InvalidClassFileException
- Throws:
InvalidClassFileException
-
-