public final class TypeParameter
extends java.lang.Object
implements java.io.Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
TypeParameter(java.lang.String _id,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Variance _variance,
Type _lowerBound,
Type _upperBound) |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
annotations() |
static TypeParameter |
create(java.lang.String _id,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Variance _variance,
Type _lowerBound,
Type _upperBound) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
id() |
Type |
lowerBound() |
static TypeParameter |
of(java.lang.String _id,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Variance _variance,
Type _lowerBound,
Type _upperBound) |
java.lang.String |
toString() |
TypeParameter[] |
typeParameters() |
Type |
upperBound() |
Variance |
variance() |
TypeParameter |
withAnnotations(Annotation[] annotations) |
TypeParameter |
withId(java.lang.String id) |
TypeParameter |
withLowerBound(Type lowerBound) |
TypeParameter |
withTypeParameters(TypeParameter[] typeParameters) |
TypeParameter |
withUpperBound(Type upperBound) |
TypeParameter |
withVariance(Variance variance) |
protected TypeParameter(java.lang.String _id,
Annotation[] _annotations,
TypeParameter[] _typeParameters,
Variance _variance,
Type _lowerBound,
Type _upperBound)
public static TypeParameter create(java.lang.String _id, Annotation[] _annotations, TypeParameter[] _typeParameters, Variance _variance, Type _lowerBound, Type _upperBound)
public static TypeParameter of(java.lang.String _id, Annotation[] _annotations, TypeParameter[] _typeParameters, Variance _variance, Type _lowerBound, Type _upperBound)
public java.lang.String id()
public Annotation[] annotations()
public TypeParameter[] typeParameters()
public Variance variance()
public Type lowerBound()
public Type upperBound()
public TypeParameter withId(java.lang.String id)
public TypeParameter withAnnotations(Annotation[] annotations)
public TypeParameter withTypeParameters(TypeParameter[] typeParameters)
public TypeParameter withVariance(Variance variance)
public TypeParameter withLowerBound(Type lowerBound)
public TypeParameter withUpperBound(Type upperBound)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object