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 ContextItem
ContextItem.Value<T>Nested classes/interfaces inherited from interface IMethod
IMethod.SourcePosition -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotations(boolean runtimeInvisible) intgetBytecodeIndex(int i) thereExceptionHandler[][]intgetInstructionIndex(int bcIndex) I[]Methods inherited from interface IClassHierarchyDweller
getClassHierarchyMethods inherited from interface IMember
getAnnotations, getDeclaringClass, getName, isStaticMethods inherited from interface 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 instruction 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
-