| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,TypeVariable> |
GenericSignatureParser.classTypeParameters |
private java.util.Map<java.lang.String,TypeVariable> |
GenericSignatureParser.elementTypeParameters |
private java.util.Map<java.lang.String,TypeVariable> |
GenericSignatureParser.typeParameters |
| Modifier and Type | Method and Description |
|---|---|
TypeVariable |
Type.asTypeVariable()
Casts this type to a
ParameterizedType and returns it if the kind is
Type.Kind.TYPE_VARIABLE
Throws an exception otherwise. |
TypeVariable |
TypeVariable.asTypeVariable() |
(package private) TypeVariable |
TypeVariable.copyType(int boundIndex,
Type bound) |
private TypeVariable |
GenericSignatureParser.resolveBounds(Type type) |
private TypeVariable |
GenericSignatureParser.resolveType(java.lang.String identifier) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TypeVariable> |
ClassInfo.typeParameters()
Returns the generic type parameters of this class, if any.
|
java.util.List<TypeVariable> |
MethodInfo.typeParameters()
Returns the generic type parameters defined by this method.
|
(package private) java.util.List<TypeVariable> |
MethodInternal.typeParameters() |