Class MockedType
java.lang.Object
mockit.internal.injection.InjectionProvider
mockit.internal.expectations.mocking.MockedType
-
Field Summary
FieldsFields inherited from class mockit.internal.injection.InjectionProvider
declaredType, name, NULL, parent
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mockit.internal.injection.InjectionProvider
getAnnotations, getDeclaredType, getName, hasAnnotation, isRequired, toString
-
Field Details
-
field
-
injectable
public final boolean injectable
-
-
Constructor Details
-
MockedType
-
-
Method Details
-
getClassOfDeclaredType
- Specified by:
getClassOfDeclaredType
in classInjectionProvider
-
getClassType
- Returns:
- the class object corresponding to the type to be mocked, or
TypeVariable.class
in case the mocked type is a type variable (which usually occurs when the mocked type implements/extends multiple types)
-
getMaxInstancesToCapture
public int getMaxInstancesToCapture() -
getValue
- Overrides:
getValue
in classInjectionProvider
-
hashCode
public int hashCode()
-