original - the original descriptor to create a copy from
public boolean isRequired()
Return whether this dependency is required.
Optional semantics are derived from Java 8's Optional,
any variant of a parameter-level Nullable annotation (such as from
JSR-305 or the FindBugs set of annotations), or a language-level nullable
type declaration in Kotlin.
public boolean isEager()
Return whether this dependency is 'eager' in the sense of
eagerly resolving potential target beans for type matching.
Resolve a shortcut for this dependency against the given factory, for example
taking some pre-resolved information into account.
The resolution algorithm will first attempt to resolve a shortcut through this
method before going into the regular type matching algorithm across all beans.
Subclasses may override this method to improve resolution performance based on
pre-cached information while still receiving InjectionPoint exposure etc.
public void setContainingClass(java.lang.Class<?> containingClass)
Optionally set the concrete class that contains this dependency.
This may differ from the class that declares the parameter/field in that
it may be a subclass thereof, potentially substituting type variables.