Uses of Class
com.github.robtimus.junit.support.extension.InjectionTarget
-
Packages that use InjectionTarget Package Description com.github.robtimus.junit.support.extension Provides interfaces and classes for helping create JUnit extensions. -
-
Uses of InjectionTarget in com.github.robtimus.junit.support.extension
Methods in com.github.robtimus.junit.support.extension that return InjectionTarget Modifier and Type Method Description static InjectionTarget
InjectionTarget. forField(Field field)
Creates an injection target for a field.static InjectionTarget
InjectionTarget. forParameter(ParameterContext parameterContext)
Creates an injection target for a constructor or method parameter.Methods in com.github.robtimus.junit.support.extension with parameters of type InjectionTarget Modifier and Type Method Description protected abstract Object
AnnotationBasedInjectingExtension. resolveValue(InjectionTarget target, A annotation, ExtensionContext context)
Resolves the value to inject.protected Object
AnnotationBasedInjectingExtension. resolveValue(InjectionTarget target, ExtensionContext context)
protected abstract Object
InjectingExtension. resolveValue(InjectionTarget target, ExtensionContext context)
Resolves the value to inject.protected abstract Optional<JUnitException>
AnnotationBasedInjectingExtension. validateTarget(InjectionTarget target, A annotation, ExtensionContext context)
Validates that a target is valid for an injection annotation.protected Optional<JUnitException>
AnnotationBasedInjectingExtension. validateTarget(InjectionTarget target, ExtensionContext context)
protected abstract Optional<JUnitException>
InjectingExtension. validateTarget(InjectionTarget target, ExtensionContext context)
Validates that a target is valid for injecting.
-