Class IntAnnotation

  • All Implemented Interfaces:
    TypeAnnotation

    public class IntAnnotation
    extends MarkerAnnotation
    Applies a restriction to the annotated number type that its value should be an Integer.
    • Constructor Detail

      • IntAnnotation

        public IntAnnotation()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: TypeAnnotation
        A name of the annotation
        Returns:
        The name