Annotation Interface CanonicalNameOrPrimitiveType
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@SubtypeOf(DotSeparatedIdentifiersOrPrimitiveType.class)
public @interface CanonicalNameOrPrimitiveType
This is a string that is a valid canonical name and a valid
binary name or primitive type. It represents a primitive
type or a non-array, non-inner class, where the latter is represented by dot-separated
identifiers.
Examples: int, MyClass, java.lang.Integer
- See the Checker Framework Manual:
- Signature Checker