Interface TokenAnnotationSet

    • Method Detail

      • getAnnotations

        long getAnnotations()
        Get all set token annotations as a bit mask.
      • setAnnotations

        void setAnnotations​(long mask)
        Set the token annotations from a bit mask.
      • setAnnotation

        void setAnnotation​(TokenAnnotation annotation)
        Set a TokenAnnotation.
      • containsAnnotation

        boolean containsAnnotation​(TokenAnnotation annotation)
        Returns true if the specified annotation is set.
      • unsetAnnotation

        void unsetAnnotation​(TokenAnnotation annotation)
        Unset a TokenAnnotation.