@ConsumerType public class AbstractInjectAnnotationProcessor2 extends AbstractInjectAnnotationProcessor implements InjectAnnotationProcessor2
InjectAnnotationProcessor2
.Constructor and Description |
---|
AbstractInjectAnnotationProcessor2() |
Modifier and Type | Method and Description |
---|---|
InjectionStrategy |
getInjectionStrategy()
Tries to get the information whether the injection is optional.
|
getDefault, getName, getVia, hasDefault, isOptional
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefault, getName, getVia, hasDefault
isOptional
public InjectionStrategy getInjectionStrategy()
InjectAnnotationProcessor2
getInjectionStrategy
in interface InjectAnnotationProcessor2
REQUIRED
if injection is mandatory, OPTIONAL
if injection is optional or DEFAULT
in
which case the standard annotation/injection strategy should be used.Copyright © 2018 The Apache Software Foundation. All rights reserved.