Interface MethodParameter

All Known Implementing Classes:
MethodParameterImpl

public interface MethodParameter
This is used to describe the values to be given to the method in the ServiceLocator.assistedInject(Object, java.lang.reflect.Method, MethodParameter...) method
  • Method Details

    • getParameterPosition

      int getParameterPosition()
      Returns the index of the parameter for which the getParameterValue() result should go
      Returns:
      The index of the parameter in the method where the parameter value should go
    • getParameterValue

      Object getParameterValue()
      The value that should be given to the method at the parameter position specified by getParameterPosition()
      Returns:
      The possibly null parameter value that should be passed to the method at the given index