Methods Summary |
---|
public com.android.dx.rop.type.Type | getType(){@inheritDoc}
return Type.CHAR;
|
public char | getValue()Gets the char value.
return (char) getIntBits();
|
public static com.android.dx.rop.cst.CstChar | make(char value)Makes an instance for the given value. This may (but does not
necessarily) return an already-allocated instance.
return new CstChar(value);
|
public static com.android.dx.rop.cst.CstChar | make(int value)Makes an instance for the given int value. This
may (but does not necessarily) return an already-allocated
instance.
char cast = (char) value;
if (cast != value) {
throw new IllegalArgumentException("bogus char value: " +
value);
}
return make(cast);
|
public java.lang.String | toHuman(){@inheritDoc}
return Integer.toString(getIntBits());
|
public java.lang.String | toString(){@inheritDoc}
int value = getIntBits();
return "char{0x" + Hex.u2(value) + " / " + value + '}";
|
public java.lang.String | typeName(){@inheritDoc}
return "char";
|