|
||||||||||
| 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.CstChar
public final class CstChar
Constants of type char.
| Field Summary | |
|---|---|
static CstChar |
VALUE_0
non-null; the value 0 as an instance of this class |
| Method Summary | |
|---|---|
Type |
getType()
Gets the type associated with this instance. |
char |
getValue()
Gets the char value. |
static CstChar |
make(char value)
Makes an instance for the given value. |
static CstChar |
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 CstChar VALUE_0
non-null; the value 0 as an instance of this class
| Method Detail |
|---|
public static CstChar make(char value)
value - the char valuepublic static CstChar make(int value)
int value. This
may (but does not necessarily) return an already-allocated
instance.
value - the value, which must be in range for a char
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 char getValue()
char value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||