public static class AnnotationFileParser.RecordStub extends Object
Modifier and Type | Field and Description |
---|---|
LinkedHashMap<String,AnnotationFileParser.RecordComponentStub> |
componentsByName
A map from name to record component.
|
@MonotonicNonNull List<AnnotatedTypeMirror> |
componentsInCanonicalConstructor
If the canonical constructor is given in the stubs, the annotated types (in component
declaration order) for the constructor.
|
Constructor and Description |
---|
RecordStub(LinkedHashMap<String,AnnotationFileParser.RecordComponentStub> componentsByName)
Creates a new RecordStub.
|
Modifier and Type | Method and Description |
---|---|
List<AnnotatedTypeMirror> |
getComponentsInCanonicalConstructor()
Returns the annotated types for the parameters to the canonical constructor.
|
public final LinkedHashMap<String,AnnotationFileParser.RecordComponentStub> componentsByName
public @MonotonicNonNull List<AnnotatedTypeMirror> componentsInCanonicalConstructor
public RecordStub(LinkedHashMap<String,AnnotationFileParser.RecordComponentStub> componentsByName)
componentsByName
- a map from name to record component. The insertion/iteration order is
the order that they are declared in the record header.public List<AnnotatedTypeMirror> getComponentsInCanonicalConstructor()