TypeAndAnnotation implementation.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | annotate(JAnnotatable programElement)
Implements com. Annotates the given program element by additional JAXB annotations that need to be there at the point of reference. |
| public boolean | equals(Object o)
Overrides java. Implements com. Two are equal if they has the same type and annotations. |
| public JType | getTypeClass()
Implements com. Returns the Java type. |
| public int | |
| public String |
| outline | back to summary |
|---|---|
| private final Outline outline | |
| typeUse | back to summary |
|---|---|
| private final TypeUse typeUse | |
| TypeAndAnnotationImpl | back to summary |
|---|---|
| public TypeAndAnnotationImpl(Outline outline, TypeUse typeUse) | |
| annotate | back to summary |
|---|---|
| public void annotate(JAnnotatable programElement) Implements com. Doc from com. Annotates the given program element by additional JAXB annotations that need to be there at the point of reference.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements com. Doc from com. Two are equal if they has the same type and annotations.
| |
| getTypeClass | back to summary |
|---|---|
| public JType getTypeClass() Implements com. Doc from com. Returns the Java type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |