| Package | Description |
|---|---|
| com.android.dx.cf.attrib |
Implementation of containers and utilities for all the standard Java
attribute types.
|
| com.android.dx.cf.code |
Implementation of classes having to do with Java simulation, such as
is needed for verification or stack-to-register conversion.
|
| com.android.dx.cf.direct |
Implementation of
cf.iface.* based on a direct representation
of class files as byte[]s. |
| com.android.dx.cf.iface |
Interfaces and base classes for dealing with class files.
|
| com.android.dx.dex.file | |
| com.android.dx.rop.code |
Classes relating to a register-based opcode system.
|
| com.android.dx.rop.type |
Implementation of classes that represent types (classes or primitives).
|
| Modifier and Type | Method and Description |
|---|---|
TypeList |
AttExceptions.getExceptions()
Gets the list of classes associated with this instance.
|
| Constructor and Description |
|---|
AttExceptions(TypeList exceptions)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
TypeList |
ByteCatchList.toRopCatchList()
Returns a rop-style catches list equivalent to this one.
|
| Modifier and Type | Method and Description |
|---|---|
TypeList |
DirectClassFile.getInterfaces()
Gets the field
interfaces (along with
interfaces_count). |
TypeList |
DirectClassFile.makeTypeList(int offset,
int size)
Constructs and returns an instance of
TypeList whose
data comes from the bytes of this instance, interpreted as a
list of constant pool indices for classes, which are in turn
translated to type constants. |
| Modifier and Type | Method and Description |
|---|---|
TypeList |
ClassFile.getInterfaces()
Gets the field
interfaces (along with
interfaces_count). |
| Modifier and Type | Method and Description |
|---|---|
TypeList |
ClassDefItem.getInterfaces()
Gets the list of interfaces implemented.
|
TypeList |
TypeListItem.getList()
Gets the underlying list.
|
| Modifier and Type | Method and Description |
|---|---|
static Annotation |
AnnotationUtils.makeMemberClasses(TypeList types)
Constructs a standard
MemberClasses annotation. |
static Annotation |
AnnotationUtils.makeThrows(TypeList types)
Constructs a standard
Throws annotation. |
| Constructor and Description |
|---|
ClassDefItem(CstType thisClass,
int accessFlags,
CstType superclass,
TypeList interfaces,
CstString sourceFile)
Constructs an instance.
|
CodeItem(CstMethodRef ref,
DalvCode code,
boolean isStatic,
TypeList throwsList)
Constructs an instance.
|
EncodedMethod(CstMethodRef method,
int accessFlags,
DalvCode code,
TypeList throwsList)
Constructs an instance.
|
TypeListItem(TypeList list)
Constructs an instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RegisterSpecList
List of
RegisterSpec instances. |
| Modifier and Type | Method and Description |
|---|---|
TypeList |
PlainCstInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
abstract TypeList |
Insn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
PlainInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
ThrowingInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
ThrowingCstInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
SwitchInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
InvokePolymorphicInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
FillArrayDataInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
BasicBlock.getExceptionHandlerTypes()
Returns the exception handler types associated with this block,
if any.
|
TypeList |
Rop.getExceptions()
Gets the list of exception types that might be thrown.
|
TypeList |
Rop.getSources()
Gets the source types.
|
TypeList |
RegisterSpecList.withAddedType(Type type)
Returns a new instance which is identical to this one, except that
the given item is appended to the end and it is guaranteed to be
immutable.
|
| Modifier and Type | Method and Description |
|---|---|
static Rop |
Rops.opAdd(TypeList types)
Returns the appropriate
add rop for the given
types. |
static Rop |
Rops.opAnd(TypeList types)
Returns the appropriate
and rop for the given
types. |
static Rop |
Rops.opDiv(TypeList types)
Returns the appropriate
div rop for the given
types. |
static Rop |
Rops.opIfEq(TypeList types)
Returns the appropriate
if-eq rop for the given
sources. |
static Rop |
Rops.opIfGe(TypeList types)
Returns the appropriate
if-ge rop for the given
sources. |
static Rop |
Rops.opIfGt(TypeList types)
Returns the appropriate
if-gt rop for the given
sources. |
static Rop |
Rops.opIfLe(TypeList types)
Returns the appropriate
if-le rop for the given
sources. |
static Rop |
Rops.opIfLt(TypeList types)
Returns the appropriate
if-lt rop for the given
sources. |
static Rop |
Rops.opIfNe(TypeList types)
Returns the appropriate
if-ne rop for the given
sources. |
static Rop |
Rops.opMul(TypeList types)
Returns the appropriate
mul rop for the given
types. |
static Rop |
Rops.opOr(TypeList types)
Returns the appropriate
or rop for the given
types. |
static Rop |
Rops.opRem(TypeList types)
Returns the appropriate
rem rop for the given
types. |
static Rop |
Rops.opShl(TypeList types)
Returns the appropriate
shl rop for the given
types. |
static Rop |
Rops.opShr(TypeList types)
Returns the appropriate
shr rop for the given
types. |
static Rop |
Rops.opSub(TypeList types)
Returns the appropriate
sub rop for the given
types. |
static Rop |
Rops.opUshr(TypeList types)
Returns the appropriate
ushr rop for the given
types. |
static Rop |
Rops.opXor(TypeList types)
Returns the appropriate
xor rop for the given
types. |
static Rop |
Rops.ropFor(int opcode,
TypeBearer dest,
TypeList sources,
Constant cst)
Returns the appropriate rop for the given opcode, destination,
and sources.
|
static java.lang.String |
ThrowingInsn.toCatchString(TypeList catches)
Gets the string form of a register spec list to be used as a catches
list.
|
| Constructor and Description |
|---|
InvokePolymorphicInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
TypeList catches,
CstMethodRef callSiteMethod)
Constructs an instance.
|
Rop(int opcode,
TypeList sources,
TypeList exceptions)
Constructs a non-nicknamed instance with non-empty exceptions, which
is always a call-like op (see
Rop.isCallLike). |
Rop(int opcode,
Type result,
TypeList sources,
int branchingness,
java.lang.String nickname)
Constructs a no-exception instance.
|
Rop(int opcode,
Type result,
TypeList sources,
java.lang.String nickname)
Constructs a non-branching no-exception instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
int branchingness,
boolean isCallLike,
java.lang.String nickname)
Constructs an instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
int branchingness,
java.lang.String nickname)
Constructs an instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
java.lang.String nickname)
Constructs a non-empty exceptions instance.
|
ThrowingCstInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
TypeList catches,
Constant cst)
Constructs an instance.
|
ThrowingInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
TypeList catches)
Constructs an instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StdTypeList
Standard implementation of
TypeList. |
| Modifier and Type | Method and Description |
|---|---|
TypeList |
StdTypeList.withAddedType(Type type)
Returns a new instance which is identical to this one, except that
the given item is appended to the end and it is guaranteed to be
immutable.
|
TypeList |
TypeList.withAddedType(Type type)
Returns a new instance which is identical to this one, except that
the given item is appended to the end and it is guaranteed to be
immutable.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
StdTypeList.compareContents(TypeList list1,
TypeList list2)
Compares the contents of the given two instances for ordering.
|
static boolean |
StdTypeList.equalContents(TypeList list1,
TypeList list2)
Compares the contents of the given two instances for equality.
|
static int |
StdTypeList.hashContents(TypeList list)
Returns a hashcode of the contents of the given list.
|
static java.lang.String |
StdTypeList.toHuman(TypeList list)
Returns the given list as a comma-separated list of human forms.
|
Copyright © 2020. All Rights Reserved.