presto-plugin-toolkit/src/main/java/io/prestosql/plugin/base/util/LoggingInvocationHandler.java/ReflectiveParameterNamesProvider/getParameterNames
class ReflectiveParameterNamesProvider:        @Override
        public Optional<List<String>> getParameterNames(Method method)
        {
            Parameter[] parameters = method.getParameters();
            if (Arrays.stream(parameters).noneMatch(Parameter::isNamePresent)) {
                return Optional.empty();
            }
            return Arrays.stream(parameters)
                    .map(Parameter::getName)
                    .collect(collectingAndThen(toImmutableList(), Optional::of));
        }