| Modifier and Type | Field and Description |
|---|---|
| private final List | annotations
The annotations of the type variable. |
| private final List | bounds
The type variable's upper bounds. |
| private final String | symbol
The type variable's symbol. |
| Access | Constructor and Description |
|---|---|
| public | TypeVariableToken(String
The type variable's symbol. symbol, List<? extends TypeDescription.The type variable's upper bounds. bounds)Creates a new type variable token without annotations. |
| public | TypeVariableToken(String
The type variable's symbol. symbol, List<? extends TypeDescription.The type variable's upper bounds. bounds, List<? extends AnnotationDescription> The annotations of the type variable. annotations)Creates a new type variable token. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeVariableToken | accept(TypeDescription.
The visitor to transform all types that are represented by this token. visitorImplements net. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public AnnotationList | Returns: The annotations on this variable.Returns the annotations on this type variable. |
| public TypeList. | |
| public String | |
| public int | |
| public static TypeVariableToken | Returns: A token representing the detached type variable.A type variable in its attached state. typeVariable,A matcher that identifies types to detach from the upper bound types. matcher)Transforms a type variable into a type variable token with its bounds detached. |
| public String |
| annotations | back to summary |
|---|---|
| private final List<? extends AnnotationDescription> annotations The annotations of the type variable. | |
| bounds | back to summary |
|---|---|
| private final List<? extends TypeDescription. The type variable's upper bounds. | |
| symbol | back to summary |
|---|---|
| private final String symbol The type variable's symbol. | |
| TypeVariableToken | back to summary |
|---|---|
| public TypeVariableToken(String symbol, List<? extends TypeDescription. Creates a new type variable token without annotations.
| |
| TypeVariableToken | back to summary |
|---|---|
| public TypeVariableToken(String symbol, List<? extends TypeDescription. Creates a new type variable token.
| |
| accept | back to summary |
|---|---|
| public TypeVariableToken accept(TypeDescription. Implements net. Doc from net. Transforms the types represented by this token by applying the given visitor to them.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotations | back to summary |
|---|---|
| public AnnotationList getAnnotations() Returns the annotations on this type variable.
| |
| getBounds | back to summary |
|---|---|
| public TypeList. Returns the type variable's upper bounds. | |
| getSymbol | back to summary |
|---|---|
| public String getSymbol() Returns the type variable's symbol.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| of | back to summary |
|---|---|
| public static TypeVariableToken of(TypeDescription. Transforms a type variable into a type variable token with its bounds detached.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |