@FunctionalInterface public interface ConstructorResolver
| Modifier and Type | Method and Description |
|---|---|
ConstructorExecutor |
resolve(EvaluationContext context,
String typeName,
List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable constructor on the supplied type
that can handle the specified arguments.
|
@Nullable ConstructorExecutor resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) throws AccessException
null if no constructor could be found).context - the current evaluation contexttypeName - the type upon which to look for the constructorargumentTypes - the arguments that the constructor must be able to handleAccessException