Class GenericMetadataSupport.ParameterizedReturnType
java.lang.Object
org.mockito.internal.util.reflection.GenericMetadataSupport
org.mockito.internal.util.reflection.GenericMetadataSupport.ParameterizedReturnType
- Enclosing class:
- GenericMetadataSupport
Generic metadata specific to
ParameterizedType
returned via Method.getGenericReturnType()
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
GenericMetadataSupport.BoundedType, GenericMetadataSupport.TypeVarBoundedType, GenericMetadataSupport.WildCardBoundedType
-
Field Summary
FieldsFields inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
contextualActualTypeParameters
-
Constructor Summary
ConstructorsConstructorDescriptionParameterizedReturnType
(GenericMetadataSupport source, TypeVariable<?>[] typeParameters, ParameterizedType parameterizedType) -
Method Summary
Methods inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
actualTypeArguments, extractRawTypeOf, extraInterfaces, getActualTypeArgumentFor, hasRawExtraInterfaces, inferFrom, rawExtraInterfaces, registerAllTypeVariables, registerTypeParametersOn, registerTypeVariablesOn, resolveGenericReturnType
-
Field Details
-
parameterizedType
-
typeParameters
-
-
Constructor Details
-
ParameterizedReturnType
public ParameterizedReturnType(GenericMetadataSupport source, TypeVariable<?>[] typeParameters, ParameterizedType parameterizedType)
-
-
Method Details
-
readTypeParameters
private void readTypeParameters() -
readTypeVariables
private void readTypeVariables() -
rawType
- Specified by:
rawType
in classGenericMetadataSupport
- Returns:
- Raw type of the current instance.
-