protected Object getParameter(final Object[] parameters, final int num) {
        if (parameters != null && parameters.length >= num) {
            return parameters[num];
        } else {
            return null;
        }
    }
<p>getParameter.</p>

@param parameters an array of {@link Object} objects
@param num a int
@return a {@link Object} object
pac4j-core/src/main/java/org/pac4j/core/profile/definition/ProfileDefinition.java