Interface ParameterDescriptor

All Superinterfaces:
CascadableDescriptor, ContainerDescriptor, ElementDescriptor

public interface ParameterDescriptor extends ElementDescriptor, CascadableDescriptor, ContainerDescriptor
Describes a validated method or constructor parameter.
Since:
1.1
Author:
Gunnar Morling
  • Method Details

    • getIndex

      int getIndex()
      Returns this parameter's index within the parameter array of the method or constructor holding it.
      Returns:
      this parameter's index
    • getName

      String getName()
      Returns this parameter's name as retrieved by the current parameter name resolver.
      Returns:
      this parameter's name