|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.rop.cst.Constant
com.android.dx.rop.cst.TypedConstant
com.android.dx.rop.cst.CstLiteralBits
com.android.dx.rop.cst.CstLiteral32
com.android.dx.rop.cst.CstInteger
public final class CstInteger
Constants of type CONSTANT_Integer_info.
| Field Summary | |
|---|---|
static CstInteger |
VALUE_0
non-null; instance representing 0 |
static CstInteger |
VALUE_1
non-null; instance representing 1 |
static CstInteger |
VALUE_2
non-null; instance representing 2 |
static CstInteger |
VALUE_3
non-null; instance representing 3 |
static CstInteger |
VALUE_4
non-null; instance representing 4 |
static CstInteger |
VALUE_5
non-null; instance representing 5 |
static CstInteger |
VALUE_M1
non-null; instance representing -1 |
| Method Summary | |
|---|---|
Type |
getType()
Gets the type associated with this instance. |
int |
getValue()
Gets the int value. |
static CstInteger |
make(int value)
Makes an instance for the given value. |
String |
toHuman()
Return the "human" string form of this instance. |
String |
toString()
|
String |
typeName()
Returns the human name for the particular type of constant this instance is. |
| Methods inherited from class com.android.dx.rop.cst.CstLiteral32 |
|---|
compareTo0, equals, fitsInInt, getIntBits, getLongBits, hashCode, isCategory2 |
| Methods inherited from class com.android.dx.rop.cst.CstLiteralBits |
|---|
fitsIn16Bits, fitsIn8Bits |
| Methods inherited from class com.android.dx.rop.cst.TypedConstant |
|---|
getBasicFrameType, getBasicType, getFrameType, isConstant |
| Methods inherited from class com.android.dx.rop.cst.Constant |
|---|
compareTo |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CstInteger VALUE_M1
non-null; instance representing -1
public static final CstInteger VALUE_0
non-null; instance representing 0
public static final CstInteger VALUE_1
non-null; instance representing 1
public static final CstInteger VALUE_2
non-null; instance representing 2
public static final CstInteger VALUE_3
non-null; instance representing 3
public static final CstInteger VALUE_4
non-null; instance representing 4
public static final CstInteger VALUE_5
non-null; instance representing 5
| Method Detail |
|---|
public static CstInteger make(int value)
value - the int value
non-null; the appropriate instancepublic String toString()
toString in class Objectpublic Type getType()
non-null; the typepublic String typeName()
typeName in class Constantnon-null; the namepublic String toHuman()
toString().
non-null; the human string formpublic int getValue()
int value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||