| 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.code | |
| com.android.dx.dex.file | |
| com.android.dx.rop.annotation | |
| com.android.dx.rop.cst |
Interfaces and implementation of things related to the constant pool.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
AttEnclosingMethod.getEnclosingClass()
Gets the innermost enclosing class.
|
CstType |
InnerClassList.Item.getInnerClass()
Gets the class this item refers to.
|
CstType |
InnerClassList.Item.getOuterClass()
Gets the outer class that this item's class is a member of, if any.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InnerClassList.set(int n,
CstType innerClass,
CstType outerClass,
CstString innerName,
int accessFlags)
Sets the item at the given index.
|
| Constructor and Description |
|---|
AttEnclosingMethod(CstType type,
CstNat method)
Constructs an instance.
|
Item(CstType innerClass,
CstType outerClass,
CstString innerName,
int accessFlags)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
BootstrapMethodsList.Item.getDeclaringClass() |
CstType |
ConcreteMethod.getDefiningClass()
Get the defining class.
|
CstType |
ByteCatchList.Item.getExceptionClass()
Gets the class of exception handled.
|
| Modifier and Type | Method and Description |
|---|---|
Frame |
Frame.makeExceptionHandlerStartFrame(CstType exceptionClass)
Makes a new frame for an exception handler block invoked from this
frame.
|
void |
BootstrapMethodsList.set(int n,
CstType declaringClass,
CstMethodHandle bootstrapMethodHandle,
BootstrapMethodArgumentsList arguments)
Sets the item at the given index.
|
void |
ByteCatchList.set(int n,
int startPc,
int endPc,
int handlerPc,
CstType exceptionClass)
Sets the item at the given index.
|
void |
BytecodeArray.Visitor.visitNewarray(int offset,
int length,
CstType type,
java.util.ArrayList<Constant> initVals)
Visits a newarray instruction.
|
void |
BytecodeArray.BaseVisitor.visitNewarray(int offset,
int length,
CstType type,
java.util.ArrayList<Constant> initValues)
Visits a newarray instruction.
|
void |
BasicBlocker.visitNewarray(int offset,
int length,
CstType type,
java.util.ArrayList<Constant> intVals)
Visits a newarray instruction.
|
| Constructor and Description |
|---|
Item(CstType declaringClass,
CstMethodHandle bootstrapMethodHandle,
BootstrapMethodArgumentsList bootstrapMethodArguments) |
Item(int startPc,
int endPc,
int handlerPc,
CstType exceptionClass)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
DirectClassFile.getSuperclass()
Gets the field
super_class, interpreted as a type constant
if non-zero. |
CstType |
DirectClassFile.getThisClass()
Gets the field
this_class, interpreted as a type constant. |
| Modifier and Type | Method and Description |
|---|---|
void |
CodeObserver.visitNewarray(int offset,
int length,
CstType cst,
java.util.ArrayList<Constant> intVals)
Visits a newarray instruction.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
StdMember.getDefiningClass()
Get the defining class.
|
CstType |
Member.getDefiningClass()
Get the defining class.
|
CstType |
ClassFile.getSuperclass()
Gets the field
super_class, interpreted as a type constant
if non-zero. |
CstType |
ClassFile.getThisClass()
Gets the field
this_class, interpreted as a type constant. |
| Constructor and Description |
|---|
StdField(CstType definingClass,
int accessFlags,
CstNat nat,
AttributeList attributes)
Constructs an instance.
|
StdMember(CstType definingClass,
int accessFlags,
CstNat nat,
AttributeList attributes)
Constructs an instance.
|
StdMethod(CstType definingClass,
int accessFlags,
CstNat nat,
AttributeList attributes)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
CatchHandlerList.Entry.getExceptionType()
Gets the exception type handled.
|
CstType |
LocalList.Entry.getType()
Gets the variable's type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CatchHandlerList.set(int n,
CstType exceptionType,
int handler)
Sets the entry at the given index.
|
| Constructor and Description |
|---|
Entry(CstType exceptionType,
int handler)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
IdItem.getDefiningClass()
Gets the type constant for the defining class of the
reference.
|
CstType |
ClassDefItem.getSuperclass()
Gets the superclass.
|
CstType |
ClassDefItem.getThisClass()
Gets the constant corresponding to this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TypeIdsSection.indexOf(CstType type)
Gets the index of the given type, which must have
been added to this instance.
|
TypeIdItem |
TypeIdsSection.intern(CstType type)
Interns an element into this instance.
|
static Annotation |
AnnotationUtils.makeEnclosingClass(CstType clazz)
Constructs a standard
EnclosingClass annotation. |
| Constructor and Description |
|---|
ClassDataItem(CstType thisClass)
Constructs an instance.
|
ClassDefItem(CstType thisClass,
int accessFlags,
CstType superclass,
TypeList interfaces,
CstString sourceFile)
Constructs an instance.
|
IdItem(CstType type)
Constructs an instance.
|
TypeIdItem(CstType type)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CstType |
Annotation.getType()
Gets the type of this instance.
|
| Constructor and Description |
|---|
Annotation(CstType type,
AnnotationVisibility visibility)
Construct an instance.
|
| Modifier and Type | Field and Description |
|---|---|
static CstType |
CstType.BOOLEAN
non-null; instance corresponding to the class Boolean |
static CstType |
CstType.BOOLEAN_ARRAY
non-null; instance corresponding to the type boolean[] |
static CstType |
CstType.BYTE
non-null; instance corresponding to the class Byte |
static CstType |
CstType.BYTE_ARRAY
non-null; instance corresponding to the type byte[] |
static CstType |
CstType.CHAR_ARRAY
non-null; instance corresponding to the type char[] |
static CstType |
CstType.CHARACTER
non-null; instance corresponding to the class Character |
static CstType |
CstType.DOUBLE
non-null; instance corresponding to the class Double |
static CstType |
CstType.DOUBLE_ARRAY
non-null; instance corresponding to the type double[] |
static CstType |
CstType.FLOAT
non-null; instance corresponding to the class Float |
static CstType |
CstType.FLOAT_ARRAY
non-null; instance corresponding to the type float[] |
static CstType |
CstType.INT_ARRAY
non-null; instance corresponding to the type int[] |
static CstType |
CstType.INTEGER
non-null; instance corresponding to the class Integer |
static CstType |
CstType.LONG
non-null; instance corresponding to the class Long |
static CstType |
CstType.LONG_ARRAY
non-null; instance corresponding to the type long[] |
static CstType |
CstType.METHOD_HANDLE
non-null; instance corresponding to the type java.lang.invoke.MethodHandle |
static CstType |
CstType.OBJECT
non-null; instance corresponding to the class Object |
static CstType |
CstType.SHORT
non-null; instance corresponding to the class Short |
static CstType |
CstType.SHORT_ARRAY
non-null; instance corresponding to the type short[] |
static CstType |
CstType.VAR_HANDLE
non-null; instance corresponding to the type java.lang.invoke.VarHandle |
static CstType |
CstType.VOID
non-null; instance corresponding to the class Void |
| Modifier and Type | Method and Description |
|---|---|
static CstType |
CstType.forBoxedPrimitiveType(Type primitiveType)
Returns an instance of this class that represents the wrapper
class corresponding to a given primitive type.
|
CstType |
CstInvokeDynamic.getDeclaringClass()
Gets the declaring class of this instance.
|
CstType |
CstMemberRef.getDefiningClass()
Gets the type of the defining class.
|
static CstType |
CstType.intern(Type type)
Returns an interned instance of this class for the given type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CstInvokeDynamic.setDeclaringClass(CstType declaringClass)
Sets the declaring class of this instance.
|
| Constructor and Description |
|---|
CstFieldRef(CstType definingClass,
CstNat nat)
Constructs an instance.
|
CstInterfaceMethodRef(CstType definingClass,
CstNat nat)
Constructs an instance.
|
CstMethodRef(CstType definingClass,
CstNat nat)
Constructs an instance.
|
Copyright © 2020. All Rights Reserved.