class RouteStruct {

    ANY any;
    GET get;
    POST post;
    PUT put;
    DELETE delete;
    String nameSpace;
    String suffix;
    Class<?> routeType;
    Object controller;
    Method method;

    private static final String[] DEFAULT_PATHS = new String[]{};

    public HttpMethod getMethod() {
        if (null != any) {
            return any.method();
        }
        if (null != get) {
            return HttpMethod.GET;
        }
        if (null != post) {
            return HttpMethod.POST;
        }
        if (null != put) {
            return HttpMethod.PUT;
        }
        if (null != delete) {
            return HttpMethod.DELETE;
        }
        return HttpMethod.ALL;
    }

    public String[] getPaths() {<FILL_FUNCTION_BODY>}

    public ResponseType getResponseType() {
        if (null != any) {
            return any.responseType();
        }
        if (null != get) {
            return get.responseType();
        }
        if (null != post) {
            return post.responseType();
        }
        if (null != put) {
            return put.responseType();
        }
        if (null != delete) {
            return delete.responseType();
        }
        return ResponseType.EMPTY;
    }

}

        if (null != any) {
            return any.value();
        }
        if (null != get) {
            return get.value();
        }
        if (null != post) {
            return post.value();
        }
        if (null != put) {
            return put.value();
        }
        if (null != delete) {
            return delete.value();
        }
        return DEFAULT_PATHS;
    
<no_super_class>