@ Override public String getParameterName ( ) { String ret = null ; if ( requestParam != null ) { String requestParamName = requestParam . value ( ) ; if ( ! requestParamName . isEmpty ( ) ) ret = requestParamName ; } if ( pathVariable != null ) { String pathVariableName = pathVariable . value ( ) ; if ( ! pathVariableName . isEmpty ( ) ) ret = pathVariableName ; } if ( ret == null ) { String parameterName = methodParameter . getParameterName ( ) ; if ( parameterName == null ) { methodParameter . initParameterNameDiscovery ( new LocalVariableTableParameterNameDiscoverer ( ) ) ; ret = methodParameter . getParameterName ( ) ; } else { ret = parameterName ; } } return ret ; }
Gets request parameter name of this action input parameter .