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 |
TypeVariable.asTypeVariable() |
TypeVariable |
Type.asTypeVariable()
Casts this type to a
ParameterizedType and returns it if the kind is
Type.Kind.TYPE_VARIABLE
Throws an exception otherwise. |
(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 |
---|---|
(package private) java.util.List<TypeVariable> |
MethodInternal.typeParameters() |
java.util.List<TypeVariable> |
MethodInfo.typeParameters()
Returns the generic type parameters defined by this method.
|
java.util.List<TypeVariable> |
ClassInfo.typeParameters()
Returns the generic type parameters of this class, if any.
|
Modifier and Type | Method and Description |
---|---|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
java.lang.String[] parameterNames,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|
static MethodInfo |
MethodInfo.create(ClassInfo clazz,
java.lang.String name,
Type[] args,
Type returnType,
short flags,
TypeVariable[] typeParameters,
Type[] exceptions)
Construct a new mock Method instance.
|