public abstract class DependencyRequest
extends java.lang.Object
Key at an injection point. For example, parameters to Inject constructors, Provides methods, and component methods are all dependency
 requests.
 A dependency request is considered to be synthetic if it does not have
 an Element in code that requests the key directly. For example, an Executor is required for all @Produces methods to run
 asynchronously even though it is not directly specified as a parameter to the binding method.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DependencyRequest.Builder
A builder of  
DependencyRequests. | 
| Constructor and Description | 
|---|
DependencyRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
static DependencyRequest.Builder | 
builder()
Returns a new builder of dependency requests. 
 | 
abstract boolean | 
isNullable()
Returns  
true if this request allows null objects. | 
abstract Key | 
key()
The key of this request. 
 | 
abstract RequestKind | 
kind()
The kind of this request. 
 | 
abstract java.util.Optional<javax.lang.model.element.Element> | 
requestElement()
The element that declares this dependency request. 
 | 
public abstract RequestKind kind()
public abstract Key key()
public abstract java.util.Optional<javax.lang.model.element.Element> requestElement()
public abstract boolean isNullable()
true if this request allows null objects. A request is nullable if it is
 has an annotation with "Nullable" as its simple name.public static DependencyRequest.Builder builder()