public interface IRecord extends IDocumented, IAnnotated
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getAnnotations()
This method gets the list of annotations applied to the construct.
|
DocComment |
getComment()
This method gets the doc-comment that is applied to this construct.
|
ElementList |
getElements()
This method gets the element declarations.
|
Name |
getName()
The method gets the simple name of the new record type.
|
ConstructList<TypeSpecifier> |
getSupers()
This method gets the direct supertype declarations.
|
IAnnotated |
setAnnotations(AnnotationList annotations)
This method sets the list of annotations applied to the construct.
|
IDocumented |
setComment(DocComment comment)
This method sets the doc-comment that is applied to this construct.
|
IRecord |
setElements(ElementList elements)
This method sets the element declarations.
|
IRecord |
setName(Name name)
This method sets the simple name of the new type.
|
IRecord |
setSupers(ConstructList<TypeSpecifier> supers)
This method sets the direct supertype declarations.
|
accept, copy, getLocation, setLocationDocComment getComment()
getComment in interface IDocumentedIDocumented setComment(DocComment comment)
setComment in interface IDocumentedcomment - is the doc-comment to apply to this construct.AnnotationList getAnnotations()
getAnnotations in interface IAnnotatedIAnnotated setAnnotations(AnnotationList annotations)
setAnnotations in interface IAnnotatedName getName()
IRecord setName(Name name)
name - is the simple name of the new type.ElementList getElements()
IRecord setElements(ElementList elements)
elements - are the new element declarations.ConstructList<TypeSpecifier> getSupers()
IRecord setSupers(ConstructList<TypeSpecifier> supers)
supers - are the new direct supertypes.