public static class AnnotationFileParser.RecordComponentStub extends Object
| Modifier and Type | Field and Description | 
|---|---|
AnnotatedTypeMirror | 
type
The type of the record component. 
 | 
| Constructor and Description | 
|---|
RecordComponentStub(AnnotatedTypeMirror type,
                   Set<AnnotationMirror> allAnnotations)
Creates a new RecordComponentStub with the given type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<AnnotationMirror> | 
getAnnotationsForTarget(ElementKind elementKind)
Get the record component annotations that are applicable to the given element kind. 
 | 
boolean | 
hasAccessorInStubs()
Returns whether there is an accessor in a stub file. 
 | 
public final AnnotatedTypeMirror type
public RecordComponentStub(AnnotatedTypeMirror type, Set<AnnotationMirror> allAnnotations)
type - the type of the record componentallAnnotations - the declaration annotations on the componentpublic Set<AnnotationMirror> getAnnotationsForTarget(ElementKind elementKind)
elementKind - the element kind to apply to (e.g., FIELD, METHOD)public boolean hasAccessorInStubs()