Named annotation.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Implements java. Returns a string representation of this annotation. |
| public String |
| name | back to summary |
|---|---|
| private final String name | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. For serialization | |
| NamedImpl | back to summary |
|---|---|
| public NamedImpl(String name) Creates a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string representation of this annotation. The details of the representation are implementation-dependent, but the following may be regarded as typical: @com.example.Name(first="Duke", middle="of", last="Java") | |
| value | back to summary |
|---|---|
| public String value() Implements jakarta. Doc from jakarta. The name.
| |