private static ReturnType returnType(final String s) {
        String[] args = ARGS_REGEX.split(s);
        return ReturnType.getReturnType(args[args.length - 1]);
    }
private static ReturnType returnType ( final String s ) { String [ ] args = ARGS_REGEX . split ( s ) ; return ReturnType . getReturnType ( args [ args . length - 1 ] ) ; }
Returns the return type for the provided string.

@param s String
@return {@link ReturnType}