| Package | Description |
|---|---|
| com.android.dx.dex.file | |
| com.android.dx.rop.code | |
| com.android.dx.rop.type |
| 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 |
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 |
PlainInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
TypeList |
PlainCstInsn.getCatches()
Gets the list of possibly-caught exceptions.
|
abstract TypeList |
Insn.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 String |
ThrowingInsn.toCatchString(TypeList catches)
Gets the string form of a register spec list to be used as a catches
list.
|
| Constructor and Description |
|---|
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,
String nickname)
Constructs a no-exception instance.
|
Rop(int opcode,
Type result,
TypeList sources,
String nickname)
Constructs a non-branching no-exception instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
int branchingness,
boolean isCallLike,
String nickname)
Constructs an instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
int branchingness,
String nickname)
Constructs an instance.
|
Rop(int opcode,
Type result,
TypeList sources,
TypeList exceptions,
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 |
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.
|
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.
|
| 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 String |
StdTypeList.toHuman(TypeList list)
Returns the given list as a comma-separated list of human forms.
|
Copyright © 2014. All Rights Reserved.