Annotation Interface Unsigned
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(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