Class IntersectionGlbChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class IntersectionGlbChecker extends BaseTypeChecker
A checker over the lubglb qualifier hierarchy whose type factory summarizes an intersection type's bounds by their greatest lower bound instead of by first-bound-wins. It tests AnnotatedTypeFactory.combineIntersectionBoundAnnotationsInHierarchy(javax.lang.model.element.AnnotationMirror, javax.lang.model.element.AnnotationMirror, org.checkerframework.framework.type.QualifierHierarchy), which no checker in this repository overrides, together with BaseTypeVisitor.checkExplicitAnnotationsOnIntersectionBounds(org.checkerframework.framework.type.AnnotatedTypeMirror.AnnotatedIntersectionType, java.util.List<? extends com.sun.source.tree.Tree>), which such a checker usually overrides as well.
  • Constructor Details

    • IntersectionGlbChecker

      public IntersectionGlbChecker()
      Creates an IntersectionGlbChecker.