Methods Summary |
---|
public com.android.dx.rop.type.Type | getType(){@inheritDoc}
return Type.BYTE;
|
public byte | getValue()Gets the byte value.
return (byte) getIntBits();
|
public static com.android.dx.rop.cst.CstByte | make(byte value)Makes an instance for the given value. This may (but does not
necessarily) return an already-allocated instance.
return new CstByte(value);
|
public static com.android.dx.rop.cst.CstByte | make(int value)Makes an instance for the given int value. This
may (but does not necessarily) return an already-allocated
instance.
byte cast = (byte) value;
if (cast != value) {
throw new IllegalArgumentException("bogus byte 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 "byte{0x" + Hex.u1(value) + " / " + value + '}";
|
public java.lang.String | typeName(){@inheritDoc}
return "byte";
|