public interface ConstructorResolver
Modifier and Type | Method and Description |
---|---|
ConstructorExecutor |
resolve(EvaluationContext context,
java.lang.String typeName,
java.util.List<TypeDescriptor> argumentTypes)
Within the supplied context determine a suitable constructor on the supplied type
that can handle the specified arguments.
|
ConstructorExecutor resolve(EvaluationContext context, java.lang.String typeName, java.util.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