public class ReflectiveConstructorResolver extends Object implements ConstructorResolver
Constructor and Description |
---|
ReflectiveConstructorResolver() |
Modifier and Type | Method and Description |
---|---|
ConstructorExecutor |
resolve(EvaluationContext context,
String typename,
List<TypeDescriptor> argumentTypes)
Locate a constructor on the type.
|
public ConstructorExecutor resolve(EvaluationContext context, String typename, List<TypeDescriptor> argumentTypes) throws AccessException
resolve
in interface ConstructorResolver
context
- the current evaluation contexttypename
- the type upon which to look for the constructorargumentTypes
- the arguments that the constructor must be able to handleAccessException