net.sf.oval.guard
Interface ParameterNameResolver

All Known Implementing Classes:
ParameterNameResolverAspectJImpl, ParameterNameResolverEnumerationImpl, ParameterNameResolverParanamerImpl, Validator.DelegatingParameterNameResolver

public interface ParameterNameResolver

Author:
Sebastian Thomschke

Method Summary
 String[] getParameterNames(Constructor<?> constructor)
          Returns an empty String array if no parameters are declared.
 String[] getParameterNames(Method method)
          Returns an empty String array if no parameters are declared
 

Method Detail

getParameterNames

String[] getParameterNames(Constructor<?> constructor)
                           throws ReflectionException
Returns an empty String array if no parameters are declared.

Parameters:
constructor - the constructor
Returns:
an array holding the parameter names of the given constructor.
Throws:
ReflectionException - in case retrieving the parameter names fails

getParameterNames

String[] getParameterNames(Method method)
                           throws ReflectionException
Returns an empty String array if no parameters are declared

Parameters:
method - the method
Returns:
an array holding the parameter names of the given method.
Throws:
ReflectionException - in case retrieving the parameter names fails


Copyright © 2005–2015 The OVal Development Team. All rights reserved.