Class AnnotationFileParser.AnnotationFileAnnotations
java.lang.Object
org.checkerframework.framework.stub.AnnotationFileParser.AnnotationFileAnnotations
- Enclosing class:
- AnnotationFileParser
The result of calling AnnotationFileParser.parse: the annotated types and declaration
annotations from the file.
-
Field Summary
Modifier and TypeFieldDescriptionfinal Map<Element,
AnnotatedTypeMirror> Map from element to its type as declared in the annotation file.final Map<String,
AnnotationMirrorSet> Map from a name (actually declaration element string) to the set of declaration annotations on it, as written in the annotation file.final Map<ExecutableElement,
List<org.plumelib.util.IPair<TypeMirror, AnnotatedTypeMirror>>> Map from a method element to all the fake overrides of it.Maps fully qualified record name to information in the stub file. -
Constructor Summary
-
Method Summary
-
Field Details
-
atypes
Map from element to its type as declared in the annotation file.This is a fine-grained mapping that contains all sorts of elements; contrast with
fakeOverrides
. -
declAnnos
Map from a name (actually declaration element string) to the set of declaration annotations on it, as written in the annotation file.Map keys cannot be Element, because a different Element appears in the annotation files than in the real files. So, map keys are the verbose element name, as returned by ElementUtils.getQualifiedName.
-
fakeOverrides
public final Map<ExecutableElement,List<org.plumelib.util.IPair<TypeMirror, fakeOverridesAnnotatedTypeMirror>>> Map from a method element to all the fake overrides of it. Given a keyee
, the fake overrides are always in subtypes ofee.getEnclosingElement()
, which is the same asee.getReceiverType()
. -
records
Maps fully qualified record name to information in the stub file.
-
-
Constructor Details
-
AnnotationFileAnnotations
public AnnotationFileAnnotations()
-