Class AnnotationFileParser.RecordStub
java.lang.Object
org.checkerframework.framework.stub.AnnotationFileParser.RecordStub
- Enclosing class:
- AnnotationFileParser
Information about a record from a stub file.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionA map from name to record component.If the canonical constructor is given in the stubs, the annotated types (in component declaration order) for the constructor.
- 
Constructor SummaryConstructorsConstructorDescriptionRecordStub(Map<String, AnnotationFileParser.RecordComponentStub> componentsByName) Creates a new RecordStub.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the annotated types for the parameters to the canonical constructor.
- 
Field Details- 
componentsByNameA map from name to record component. It must have deterministic insertion/iteration order: the order that they are declared in the record header.
- 
componentsInCanonicalConstructorIf the canonical constructor is given in the stubs, the annotated types (in component declaration order) for the constructor. Null if not present in the stubs.
 
- 
- 
Constructor Details- 
RecordStubCreates a new RecordStub.- Parameters:
- componentsByName- a map from name to record component. It must have deterministic insertion/iteration order: the order that they are declared in the record header.
 
 
- 
- 
Method Details- 
getComponentsInCanonicalConstructorReturns the annotated types for the parameters to the canonical constructor. This is either from explicit annotations on the constructor in the stubs, otherwise it's taken from the annotations on the record components in the stubs.- Returns:
- the annotated types for the parameters to the canonical constructor
 
 
-