public final class CodeReader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeReader.Visitor |
| Constructor and Description |
|---|
CodeReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAllVisitors(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all instructions. |
void |
setCallSiteVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all call site instructions. |
void |
setFallbackVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all instructions not
otherwise handled. |
void |
setFieldVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all field instructions. |
void |
setMethodAndProtoVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all method and proto instructions. |
void |
setMethodVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all method instructions. |
void |
setStringVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all string instructions. |
void |
setTypeVisitor(CodeReader.Visitor visitor)
Sets
visitor as the visitor for all type instructions. |
void |
visitAll(DecodedInstruction[] decodedInstructions) |
void |
visitAll(short[] encodedInstructions) |
public void setAllVisitors(CodeReader.Visitor visitor)
visitor as the visitor for all instructions.public void setFallbackVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all instructions not
otherwise handled.public void setStringVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all string instructions.public void setTypeVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all type instructions.public void setFieldVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all field instructions.public void setMethodVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all method instructions.public void setMethodAndProtoVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all method and proto instructions.public void setCallSiteVisitor(CodeReader.Visitor visitor)
visitor as the visitor for all call site instructions.public void visitAll(DecodedInstruction[] decodedInstructions) throws DexException
DexExceptionpublic void visitAll(short[] encodedInstructions)
throws DexException
DexExceptionCopyright © 2020. All Rights Reserved.