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