Class WholeProgramInferenceScenesStorage.AnnotationsInContexts

java.lang.Object
java.util.AbstractMap<ATypeElement,Set<String>>
java.util.IdentityHashMap<ATypeElement,Set<String>>
org.checkerframework.common.wholeprograminference.WholeProgramInferenceScenesStorage.AnnotationsInContexts
All Implemented Interfaces:
Serializable, Cloneable, Map<ATypeElement,Set<String>>
Enclosing class:
WholeProgramInferenceScenesStorage

public static class WholeProgramInferenceScenesStorage.AnnotationsInContexts extends IdentityHashMap<ATypeElement,Set<String>>
Maps an ATypeElement of a scene to the names of the annotation definitions of the annotations that should not be written out for it.

The keys are compared by identity, not by equals(). Two distinct ATypeElements can be equals() to one another (and their hashCode() changes as annotations are inferred for them), so a hash map keyed by ATypeElements would conflate elements that need to be distinguished.

See Also:
  • Constructor Details

    • AnnotationsInContexts

      public AnnotationsInContexts()
      Creates a new, empty AnnotationsInContexts.