Uses of Class
com.android.dx.rop.cst.Constant

Packages that use Constant
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.dex.code   
com.android.dx.dex.file   
com.android.dx.rop.annotation   
com.android.dx.rop.code Classes relating to a register-based opcode system. 
com.android.dx.rop.cst Interfaces and implementation of things related to the constant pool. 
 

Uses of Constant in com.android.dx.cf.attrib
 

Methods in com.android.dx.cf.attrib that return Constant
 Constant AttAnnotationDefault.getValue()
          Gets the annotation default value.
 

Constructors in com.android.dx.cf.attrib with parameters of type Constant
AttAnnotationDefault(Constant value, int byteLength)
          Constructs an instance.
 

Uses of Constant in com.android.dx.cf.code
 

Methods in com.android.dx.cf.code that return Constant
protected  Constant BaseMachine.getAuxCst()
          Gets the constant auxiliary argument.
 

Methods in com.android.dx.cf.code that return types with arguments of type Constant
protected  ArrayList<Constant> BaseMachine.getInitValues()
          Gets the init values auxiliary argument.
 

Methods in com.android.dx.cf.code with parameters of type Constant
 void BaseMachine.auxCstArg(Constant cst)
          Indicates that there is an auxiliary (inline, not stack) object argument, with the value based on the given constant.
 void Machine.auxCstArg(Constant cst)
          Indicates that there is an auxiliary (inline, not stack) object argument, with the value based on the given constant.
 void BasicBlocker.visitConstant(int opcode, int offset, int length, Constant cst, int value)
          Visits an instruction which has a (possibly synthetic) constant argument, and possibly also an additional literal integer argument.
 void BytecodeArray.Visitor.visitConstant(int opcode, int offset, int length, Constant cst, int value)
          Visits an instruction which has a (possibly synthetic) constant argument, and possibly also an additional literal integer argument.
 void BytecodeArray.BaseVisitor.visitConstant(int opcode, int offset, int length, Constant cst, int value)
          Visits an instruction which has a (possibly synthetic) constant argument, and possibly also an additional literal integer argument.
 

Method parameters in com.android.dx.cf.code with type arguments of type Constant
 void BaseMachine.auxInitValues(ArrayList<Constant> initValues)
          Indicates that there is an auxiliary (inline, not stack) argument consisting of a list of initial values for a newly created array.
 void Machine.auxInitValues(ArrayList<Constant> initValues)
          Indicates that there is an auxiliary (inline, not stack) argument consisting of a list of initial values for a newly created array.
 void BasicBlocker.visitNewarray(int offset, int length, CstType type, ArrayList<Constant> intVals)
          Visits a newarray instruction.
 void BytecodeArray.Visitor.visitNewarray(int offset, int length, CstType type, ArrayList<Constant> initVals)
          Visits a newarray instruction.
 void BytecodeArray.BaseVisitor.visitNewarray(int offset, int length, CstType type, ArrayList<Constant> initValues)
          Visits a newarray instruction.
 

Uses of Constant in com.android.dx.cf.direct
 

Methods in com.android.dx.cf.direct that return Constant
 Constant AnnotationParser.parseValueAttribute()
          Parses an annotation value (element_value) attribute.
 

Methods in com.android.dx.cf.direct with parameters of type Constant
 void CodeObserver.visitConstant(int opcode, int offset, int length, Constant cst, int value)
          Visits an instruction which has a (possibly synthetic) constant argument, and possibly also an additional literal integer argument.
 

Method parameters in com.android.dx.cf.direct with type arguments of type Constant
 void CodeObserver.visitNewarray(int offset, int length, CstType cst, ArrayList<Constant> intVals)
          Visits a newarray instruction.
 

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 ClassDataItem.addStaticField(EncodedField field, Constant value)
          Adds a static field.
 void ClassDefItem.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.
 IndexedItem FieldIdsSection.get(Constant cst)
          Gets the item corresponding to the given Constant.
abstract  IndexedItem UniformItemSection.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 TypeIdsSection.get(Constant cst)
          Gets the item corresponding to the given Constant.
 IndexedItem ClassDefsSection.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 StringIdsSection.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 ConstantPool.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 StdConstantPool.get(int n)
          Get the nth entry in the constant pool, which must be valid.
 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.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.getEntries()
          Get all entries in this constant pool.
 Constant[] StdConstantPool.getEntries()
          Get all entries in this constant pool.
 Constant ConstantPool.getOrNull(int n)
          Get the nth entry in the constant pool, or null if the index is in-range but invalid.
 Constant StdConstantPool.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 CstNat.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 CstArray.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 CstType.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.
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 CstMemberRef.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  int CstString.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.
 void CstArray.List.set(int n, Constant a)
          Sets the element at the given index.
 void StdConstantPool.set(int n, Constant cst)
          Sets the entry at the given index.
 



Copyright © 2015. All rights reserved.