spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/SpringActionInputParameter.java
@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;
    }
@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;
    }
@ 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.

@return name
Gets request parameter name of this action input parameter .