Class GenericMetadataSupport.FromClassGenericMetadataSupport
- java.lang.Object
-
- org.mockito.internal.util.reflection.GenericMetadataSupport
-
- org.mockito.internal.util.reflection.GenericMetadataSupport.FromClassGenericMetadataSupport
-
- Enclosing class:
- GenericMetadataSupport
private static class GenericMetadataSupport.FromClassGenericMetadataSupport extends GenericMetadataSupport
Generic metadata implementation forClass
.Offer support to retrieve generic metadata on a
Class
by reading type parameters and type variables on the class and its ancestors and interfaces.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
GenericMetadataSupport.BoundedType, GenericMetadataSupport.TypeVarBoundedType, GenericMetadataSupport.WildCardBoundedType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
clazz
-
Fields inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
contextualActualTypeParameters
-
-
Constructor Summary
Constructors Constructor Description FromClassGenericMetadataSupport(java.lang.Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
rawType()
-
Methods inherited from class org.mockito.internal.util.reflection.GenericMetadataSupport
actualTypeArguments, extractRawTypeOf, extraInterfaces, getActualTypeArgumentFor, hasRawExtraInterfaces, inferFrom, rawExtraInterfaces, registerAllTypeVariables, registerTypeParametersOn, registerTypeVariablesOn, resolveGenericReturnType
-
-
-
-
Method Detail
-
rawType
public java.lang.Class<?> rawType()
- Specified by:
rawType
in classGenericMetadataSupport
- Returns:
- Raw type of the current instance.
-
-