Class InjectionProvider
java.lang.Object
mockit.internal.injection.InjectionProvider
- Direct Known Subclasses:
FieldToInject, MockedType
Provides type, name, and value(s) for an injection point, which is either a field to be injected or a parameter in
the chosen constructor of a tested class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Class<?> final Typefinal StringgetName()booleanhasAnnotation(Class<? extends Annotation> annotationOfInterest) booleantoString()
-
Field Details
-
NULL
-
declaredType
-
name
-
parent
-
-
Constructor Details
-
InjectionProvider
-
-
Method Details
-
getDeclaredType
-
getClassOfDeclaredType
-
getName
-
getAnnotations
-
getValue
-
isRequired
public boolean isRequired() -
hasAnnotation
-
toString
-