| Modifier and Type | Method and Description |
|---|---|
| public TypeMirror | Returns: the type of this record componentRedeclares javax. Returns the type of this record component. |
| public ExecutableElement | Returns: the record component accessor.Returns the executable element for the accessor associated with the given record component. |
| public Element | Returns: the enclosing element of this record componentRedeclares javax. Returns the enclosing element of this record component. |
| public Name | Returns: the simple name of this record componentRedeclares javax. Returns the simple name of this record component. |
| asType | back to summary |
|---|---|
| public TypeMirror asType() Redeclares javax. Returns the type of this record component. Note that the types of record components range over many kinds of types, including primitive types, declared types, and array types.
| |
| getAccessor | back to summary |
|---|---|
| public ExecutableElement getAccessor() Returns the executable element for the accessor associated with the given record component.
| |
| getEnclosingElement | back to summary |
|---|---|
| public Element getEnclosingElement() Redeclares javax. Returns the enclosing element of this record component. The enclosing element of a record component is the record class declaring the record component. | |
| getSimpleName | back to summary |
|---|---|
| public Name getSimpleName() Redeclares javax. Returns the simple name of this record component. The name of each record component must be distinct from the names of all other record components of the same record.
| |