|
||||||||||
| 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.CstBoolean
public final class CstBoolean
Constants of type boolean.
| Field Summary | |
|---|---|
static CstBoolean |
VALUE_FALSE
non-null; instance representing false |
static CstBoolean |
VALUE_TRUE
non-null; instance representing true |
| Method Summary | |
|---|---|
Type |
getType()
Gets the type associated with this instance. |
boolean |
getValue()
Gets the boolean value. |
static CstBoolean |
make(boolean value)
Makes an instance for the given value. |
static CstBoolean |
make(int value)
Makes an instance for the given int 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 CstBoolean VALUE_FALSE
non-null; instance representing false
public static final CstBoolean VALUE_TRUE
non-null; instance representing true
| Method Detail |
|---|
public static CstBoolean make(boolean value)
value - the boolean value
non-null; the appropriate instancepublic static CstBoolean make(int value)
int value. This
will return an already-allocated instance.
value - must be either 0 or 1
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 boolean getValue()
boolean value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||