ConstructorExecutor that can be used to invoke that constructor.
The ConstructorExecutor will be cached, but if it becomes stale the
resolvers will be called again.
ConstructorExecutor, MethodResolver
| Modifier and Type | Method and Description |
|---|---|
| public ConstructorExecutor | Returns: aConstructorExecutor that can invoke the constructor,
or null if the constructor cannot be foundthe current evaluation context context, String the fully-qualified name of the type upon which to look
for the constructor typeName, List<TypeDescriptor> the types of arguments that the constructor must be
able to handle argumentTypes)Within the supplied context, resolve a suitable constructor on the supplied type that can handle the specified arguments. |
| resolve | back to summary |
|---|---|
| public ConstructorExecutor resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) throws AccessException Within the supplied context, resolve a suitable constructor on the supplied type that can handle the specified arguments. Returns a
| |