find Model
Fetches a snapshot of the model of the given type, if available.
See getModel for more details.
Return
The model, or null if not present.
Parameters
model Type
The model type.
<T>
The model type.
@Nullable
Fetches a snapshot of the model of the given type using the given parameter, if available.
See getModel for more details.
Return
The model.
Since
4.4
Parameters
model Type
The model type.
<T>
The model type.
parameter Type
The parameter type.
<P>
The parameter type.
parameter Initializer
Action to configure the parameter
@Nullable
Fetches a snapshot of the model of the given type for the given element using the given parameter, if available.
See getModel for more details.
Return
The model.
Since
4.4
Parameters
target
The target element, usually a project.
model Type
The model type.
<T>
The model type.
parameter Type
The parameter type.
<P>
The parameter type.
parameter Initializer
Action to configure the parameter