|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Constant | |
|---|---|
| com.android.dx.dex.code | |
| com.android.dx.dex.file | |
| com.android.dx.rop.annotation | |
| com.android.dx.rop.code | |
| com.android.dx.rop.cst | |
| Uses of Constant in com.android.dx.dex.code |
|---|
| Methods in com.android.dx.dex.code that return Constant | |
|---|---|
Constant |
CstInsn.getConstant()
Gets the constant argument. |
| Methods in com.android.dx.dex.code that return types with arguments of type Constant | |
|---|---|
HashSet<Constant> |
OutputFinisher.getAllConstants()
Returns the set of all constants referred to by instructions added to this instance. |
HashSet<Constant> |
DalvCode.getInsnConstants()
Gets the set of all constants referred to by instructions in the code. |
| Methods in com.android.dx.dex.code with parameters of type Constant | |
|---|---|
int |
DalvCode.AssignIndicesCallback.getIndex(Constant cst)
Gets the index for the given constant. |
| Constructors in com.android.dx.dex.code with parameters of type Constant | |
|---|---|
ArrayData(SourcePosition position,
CodeAddress user,
ArrayList<Constant> values,
Constant arrayType)
Constructs an instance. |
|
CstInsn(Dop opcode,
SourcePosition position,
RegisterSpecList registers,
Constant constant)
Constructs an instance. |
|
| Constructor parameters in com.android.dx.dex.code with type arguments of type Constant | |
|---|---|
ArrayData(SourcePosition position,
CodeAddress user,
ArrayList<Constant> values,
Constant arrayType)
Constructs an instance. |
|
| Uses of Constant in com.android.dx.dex.file |
|---|
| Methods in com.android.dx.dex.file with parameters of type Constant | |
|---|---|
static void |
ValueEncoder.addContents(DexFile file,
Constant cst)
Helper for addContents() methods, which adds
contents for a particular constant, calling itself recursively
should it encounter a CstArray and calling ValueEncoder.addContents(DexFile,Annotation) recursively should it
encounter a CstAnnotation. |
void |
ClassDefItem.addStaticField(EncodedField field,
Constant value)
Adds a static field. |
void |
ClassDataItem.addStaticField(EncodedField field,
Constant value)
Adds a static field. |
static String |
ValueEncoder.constantToHuman(Constant cst)
Gets the colloquial type name and human form of the type of the given constant, when used as an encoded value. |
abstract IndexedItem |
UniformItemSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
TypeIdsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
StringIdsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
ProtoIdsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
MethodIdsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
HeaderSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
FieldIdsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
IndexedItem |
ClassDefsSection.get(Constant cst)
Gets the item corresponding to the given Constant. |
void |
ValueEncoder.writeConstant(Constant cst)
Writes out the encoded form of the given constant. |
| Uses of Constant in com.android.dx.rop.annotation |
|---|
| Methods in com.android.dx.rop.annotation that return Constant | |
|---|---|
Constant |
NameValuePair.getValue()
Gets the value. |
| Constructors in com.android.dx.rop.annotation with parameters of type Constant | |
|---|---|
NameValuePair(CstString name,
Constant value)
Construct an instance. |
|
| Uses of Constant in com.android.dx.rop.code |
|---|
| Methods in com.android.dx.rop.code that return Constant | |
|---|---|
Constant |
FillArrayDataInsn.getConstant()
Return the type of the newly created array |
Constant |
CstInsn.getConstant()
Gets the constant. |
| Methods in com.android.dx.rop.code that return types with arguments of type Constant | |
|---|---|
ArrayList<Constant> |
FillArrayDataInsn.getInitValues()
Return the list of init values |
| Methods in com.android.dx.rop.code with parameters of type Constant | |
|---|---|
static Rop |
Rops.ropFor(int opcode,
TypeBearer dest,
TypeList sources,
Constant cst)
Returns the appropriate rop for the given opcode, destination, and sources. |
| Constructors in com.android.dx.rop.code with parameters of type Constant | |
|---|---|
CstInsn(Rop opcode,
SourcePosition position,
RegisterSpec result,
RegisterSpecList sources,
Constant cst)
Constructs an instance. |
|
FillArrayDataInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
ArrayList<Constant> initValues,
Constant cst)
Constructs an instance. |
|
PlainCstInsn(Rop opcode,
SourcePosition position,
RegisterSpec result,
RegisterSpecList sources,
Constant cst)
Constructs an instance. |
|
ThrowingCstInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
TypeList catches,
Constant cst)
Constructs an instance. |
|
| Constructor parameters in com.android.dx.rop.code with type arguments of type Constant | |
|---|---|
FillArrayDataInsn(Rop opcode,
SourcePosition position,
RegisterSpecList sources,
ArrayList<Constant> initValues,
Constant cst)
Constructs an instance. |
|
| Uses of Constant in com.android.dx.rop.cst |
|---|
| Subclasses of Constant in com.android.dx.rop.cst | |
|---|---|
class |
CstAnnotation
Constant type that represents an annotation. |
class |
CstArray
Constant type to represent a fixed array of other constants. |
class |
CstBaseMethodRef
Base class for constants of "methodish" type. |
class |
CstBoolean
Constants of type boolean. |
class |
CstByte
Constants of type byte. |
class |
CstChar
Constants of type char. |
class |
CstDouble
Constants of type CONSTANT_Double_info. |
class |
CstEnumRef
Constant type to represent a reference to a particular constant value of an enumerated type. |
class |
CstFieldRef
Constants of type CONSTANT_Fieldref_info. |
class |
CstFloat
Constants of type CONSTANT_Float_info. |
class |
CstInteger
Constants of type CONSTANT_Integer_info. |
class |
CstInterfaceMethodRef
Constants of type CONSTANT_InterfaceMethodref_info. |
class |
CstKnownNull
Constant type to represent a known- null value. |
class |
CstLiteral32
Constants which are literal 32-bit values of some sort. |
class |
CstLiteral64
Constants which are literal 64-bit values of some sort. |
class |
CstLiteralBits
Constants which are literal bitwise values of some sort. |
class |
CstLong
Constants of type CONSTANT_Long_info. |
class |
CstMemberRef
Constants of type CONSTANT_*ref_info. |
class |
CstMethodRef
Constants of type CONSTANT_Methodref_info. |
class |
CstNat
Constants of type CONSTANT_NameAndType_info. |
class |
CstShort
Constants of type short. |
class |
CstString
Constants of type CONSTANT_Utf8_info or CONSTANT_String_info. |
class |
CstType
Constants that represent an arbitrary type (reference or primitive). |
class |
TypedConstant
Base class for constants which implement TypeBearer. |
| Methods in com.android.dx.rop.cst that return Constant | |
|---|---|
Constant |
StdConstantPool.get(int n)
Get the nth entry in the constant pool, which must
be valid. |
Constant |
CstArray.List.get(int n)
Gets the element at the given index. |
Constant |
ConstantPool.get(int n)
Get the nth entry in the constant pool, which must
be valid. |
Constant |
StdConstantPool.get0Ok(int n)
Get the nth entry in the constant pool, which must
be valid unless n == 0, in which case null
is returned. |
Constant |
ConstantPool.get0Ok(int n)
Get the nth entry in the constant pool, which must
be valid unless n == 0, in which case null
is returned. |
Constant |
StdConstantPool.getOrNull(int n)
Get the nth entry in the constant pool, or
null if the index is in-range but invalid. |
Constant |
ConstantPool.getOrNull(int n)
Get the nth entry in the constant pool, or
null if the index is in-range but invalid. |
static Constant |
Zeroes.zeroFor(Type type)
Gets the "zero" (or null) value for the given type. |
| Methods in com.android.dx.rop.cst with parameters of type Constant | |
|---|---|
int |
Constant.compareTo(Constant other)
This compares in class-major and value-minor order. |
protected int |
CstType.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstString.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstNat.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstMemberRef.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstLiteral64.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstLiteral32.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstKnownNull.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstFieldRef.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstBaseMethodRef.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstArray.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected int |
CstAnnotation.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
protected abstract int |
Constant.compareTo0(Constant other)
Compare the values of this and another instance, which are guaranteed to be of the same class. |
void |
StdConstantPool.set(int n,
Constant cst)
Sets the entry at the given index. |
void |
CstArray.List.set(int n,
Constant a)
Sets the element at the given index. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||