@Nullable
    private static <T> MethodHandle getPublicStaticMethodHandle(final Class<T> clazz,
                                                                final String methodName) {
        try {
            final MethodType methodType = MethodType.methodType(clazz, String.class);
            return MethodHandles.publicLookup().findStatic(clazz, methodName, methodType);
        } catch (Throwable t) {
            // No valid public static method found
            return null;
        }
    }
Try to get a public static method {@link MethodHandle} with a single {@link String} argument
in {@code clazz}.
@param <T> the expected result
@param clazz the class being introspected
@param methodName the method expected
@return a function that takes a {@link String} and produces a {@link T}
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotatedServiceTypeUtil.java