| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public Class | annotationType()
Implements java. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Implements java. |
| public int | hashCode()
Overrides java. Implements java. |
| public String | toString()
Overrides java. Implements java. |
| public String |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| private final String value | |
| NamedImpl | back to summary |
|---|---|
| public NamedImpl(String value) | |
| annotationType | back to summary |
|---|---|
| public Class Implements java. Doc from java. Returns the annotation interface of this annotation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Returns true if the specified object represents an annotation that is logically equivalent to this one. In other words, returns true if the specified object is an instance of the same annotation interface as this instance, all of whose members are equal to the corresponding member of this annotation, as defined below:
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code of this annotation. The hash code of an annotation is the sum of the hash codes
of its members (including those with default values).
The hash code of an annotation member is (127 times the hash code
of the member-name as computed by
| |
| 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 com.
| |