@Documented
@Retention(value=RUNTIME)
@Target(value={TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(value=UnknownSignedness.class)
@DefaultFor(typeKinds=CHAR,
types=java.lang.Character.class)
@UpperBoundFor(typeKinds=CHAR,
types=java.lang.Character.class)
public @interface Unsigned
The value is to be interpreted as unsigned. That is, if the most significant bit in the bitwise
representation is set, then the bits should be interpreted as a large positive number rather than
as a negative number.
- See the Checker Framework Manual:
- Signedness Checker