Class IrrelevantTypeAnnotator

All Implemented Interfaces:

public class IrrelevantTypeAnnotator extends TypeAnnotator
Adds annotations to types that are not relevant specified by the RelevantJavaTypes on a checker.
  • Constructor Details

    • IrrelevantTypeAnnotator

      public IrrelevantTypeAnnotator(GenericAnnotatedTypeFactory atypeFactory)
      Annotate every type except for those whose underlying Java type is one of (or a subtype or supertype of) a class in relevantClasses. (Only adds annotationMirror if no annotation in the hierarchy are already on the type.) If relevantClasses includes Object[].class, then all arrays are considered relevant.
      atypeFactory - a GenericAnnotatedTypeFactory
  • Method Details