Interface IBytecodeMethod<I>
- All Superinterfaces:
ContextItem
,IClassHierarchyDweller
,IMember
,IMethod
- All Known Implementing Classes:
DexIMethod
,ShrikeCTMethod
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
Modifier and TypeMethodDescriptiongetAnnotations
(boolean runtimeInvisible) int
getBytecodeIndex
(int i) thereExceptionHandler[][]
int
getInstructionIndex
(int bcIndex) I[]
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, getNumberOfDefaultParameters, getNumberOfParameters, getParameterSourcePosition, getParameterType, getReference, getReturnType, getSelector, getSignature, getSourcePosition, hasExceptionHandler, hasLocalVariableTable, isAbstract, isAnnotation, isBridge, isClinit, isEnum, isFinal, isInit, isModule, isNative, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic, isWalaSynthetic
-
Method Details
-
getBytecodeIndex
- Returns:
- the bytecode index corresponding to instruction i in the getInstructions() array
- Throws:
InvalidClassFileException
-
getInstructionIndex
- Returns:
- the instuction index i in the getInstructions() array corresponding to the bytecode index bcIndex
- Throws:
InvalidClassFileException
-
getHandlers
- Returns:
- the Shrike representation of the exception handlers
- Throws:
InvalidClassFileException
-
getInstructions
- Returns:
- the Shrike instructions decoded from the bytecode
- Throws:
InvalidClassFileException
-
getCallSites
there- Returns:
- the call sites declared in the bytecode for this method
- Throws:
InvalidClassFileException
-
getFieldsRead
- Throws:
InvalidClassFileException
-
getFieldsWritten
- Throws:
InvalidClassFileException
-
getArraysWritten
- Throws:
InvalidClassFileException
-
getNewSites
- Returns:
- the new 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
- Throws:
InvalidClassFileException
-