public static class AnnotationFileParser.AnnotationFileAnnotations extends Object
Modifier and Type | Field and Description |
---|---|
Map<Element,AnnotatedTypeMirror> |
atypes
Map from element to its type as declared in the annotation file.
|
Map<String,Set<AnnotationMirror>> |
declAnnos
Map from a name (actually declaration element string) to the set of declaration annotations
on it, as written in the annotation file.
|
Map<ExecutableElement,List<Pair<TypeMirror,AnnotatedTypeMirror>>> |
fakeOverrides
Map from a method element to all the fake overrides of it.
|
Map<String,AnnotationFileParser.RecordStub> |
records
Maps fully qualified record name to information in the stub file.
|
Constructor and Description |
---|
AnnotationFileAnnotations() |
public final Map<Element,AnnotatedTypeMirror> atypes
This is a fine-grained mapping that contains all sorts of elements; contrast with fakeOverrides
.
public final Map<String,Set<AnnotationMirror>> declAnnos
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.
public final Map<ExecutableElement,List<Pair<TypeMirror,AnnotatedTypeMirror>>> fakeOverrides
ee
, the fake
overrides are always in subtypes of ee.getEnclosingElement()
, which is the same as
ee.getReceiverType()
.public final Map<String,AnnotationFileParser.RecordStub> records