Class ListTypeAnnotator

    • Constructor Detail

      • ListTypeAnnotator

        public ListTypeAnnotator​(TypeAnnotator... annotators)
        Create a new ListTypeAnnotator.
        Parameters:
        annotators - the annotators that will be executed for each type scanned by this TypeAnnotator. They are executed in the order passed in.
      • ListTypeAnnotator

        public ListTypeAnnotator​(java.util.List<TypeAnnotator> annotators)
        Parameters:
        annotators - the annotators that will be executed for each type scanned by this TypeAnnotator. They are executed in the order passed in.
    • Method Detail

      • scan

        protected java.lang.Void scan​(AnnotatedTypeMirror type,
                                      java.lang.Void aVoid)
        Description copied from class: AnnotatedTypeScanner
        Scan type by calling type.accept(this, p); this method may be overridden by subclasses.
        Overrides:
        scan in class AnnotatedTypeScanner<java.lang.Void,​java.lang.Void>
        Parameters:
        type - type to scan
        aVoid - the parameter to use
        Returns:
        the result of visiting type
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object