| Package | Description |
|---|---|
| com.android.dx.dex.file | |
| com.android.dx.rop.code |
Classes relating to a register-based opcode system.
|
| com.android.dx.rop.cst |
Interfaces and implementation of things related to the constant pool.
|
| Modifier and Type | Method and Description |
|---|---|
CstMethodRef |
ParameterAnnotationStruct.getMethod()
Gets the method this item is for.
|
CstMethodRef |
MethodAnnotationStruct.getMethod()
Gets the method this item is for.
|
CstMethodRef |
EncodedMethod.getRef()
Gets the constant for the method.
|
CstMethodRef |
CodeItem.getRef()
Gets the reference to the method this instance implements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationsDirectoryItem.addMethodAnnotations(CstMethodRef method,
Annotations annotations,
DexFile dexFile)
Adds a method annotations item to this instance.
|
void |
ClassDefItem.addMethodAnnotations(CstMethodRef method,
Annotations annotations,
DexFile dexFile)
Adds a method annotations item to this class.
|
void |
AnnotationsDirectoryItem.addParameterAnnotations(CstMethodRef method,
AnnotationsList list,
DexFile dexFile)
Adds a parameter annotations item to this instance.
|
void |
ClassDefItem.addParameterAnnotations(CstMethodRef method,
AnnotationsList list,
DexFile dexFile)
Adds a parameter annotations item to this class.
|
Annotations |
AnnotationsDirectoryItem.getMethodAnnotations(CstMethodRef method)
Gets the method annotations for a given method, if any.
|
Annotations |
ClassDefItem.getMethodAnnotations(CstMethodRef method)
Gets the method annotations for a given method, if any.
|
AnnotationsList |
AnnotationsDirectoryItem.getParameterAnnotations(CstMethodRef method)
Gets the parameter annotations for a given method, if any.
|
AnnotationsList |
ClassDefItem.getParameterAnnotations(CstMethodRef method)
Gets the parameter annotations for a given method, if any.
|
static Annotation |
AnnotationUtils.makeEnclosingMethod(CstMethodRef method)
Constructs a standard
EnclosingMethod annotation. |
static void |
DebugInfoDecoder.validateEncode(byte[] info,
DexFile file,
CstMethodRef ref,
DalvCode code,
boolean isStatic)
Validates an encoded debug info stream against data used to encode it,
throwing an exception if they do not match.
|
| Constructor and Description |
|---|
CodeItem(CstMethodRef ref,
DalvCode code,
boolean isStatic,
TypeList throwsList)
Constructs an instance.
|
DebugInfoEncoder(PositionList positions,
LocalList locals,
DexFile file,
int codeSize,
int regSize,
boolean isStatic,
CstMethodRef ref)
Creates an instance.
|
DebugInfoItem(DalvCode code,
boolean isStatic,
CstMethodRef ref) |
EncodedMethod(CstMethodRef method,
int accessFlags,
DalvCode code,
TypeList throwsList)
Constructs an instance.
|
MethodAnnotationStruct(CstMethodRef method,
AnnotationSetItem annotations)
Constructs an instance.
|
ParameterAnnotationStruct(CstMethodRef method,
AnnotationsList annotationsList,
DexFile dexFile)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstMethodRef |
InvokePolymorphicInsn.getCallSiteMethod()
Gets the method as it appears at the call site of the original
invoke-virtual instruction.
|
CstMethodRef |
InvokePolymorphicInsn.getPolymorphicMethod()
Gets the method to be invoked.
|
| Constructor and Description |
|---|
InvokePolymorphicInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
TypeList catches,
CstMethodRef callSiteMethod)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstMethodRef |
CstInterfaceMethodRef.toMethodRef()
Gets a normal (non-interface)
CstMethodRef that corresponds to
this instance. |
Copyright © 2020. All Rights Reserved.