Java Method Call invokeVoid(MethodHandle mh)

Here you can find the source of invokeVoid(MethodHandle mh)

Description

invoke Void

License

Open Source License

Declaration

public static void invokeVoid(MethodHandle mh) throws Throwable 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.lang.invoke.MethodHandle;

public class Main {
    public static void invokeVoid(MethodHandle mh) throws Throwable {
        mh.invokeExact();/*w  ww.  ja  v  a 2 s  . co m*/
    }
}

Related

  1. invokeUnchecked(Method method, Object target, Object... arguments)
  2. invokeUnwrapException(final Object target, final Method method, @Nullable final Object[] args)
  3. invokeValue(AnnotatedElement element, Class annotationClass)
  4. invokeVirtual(String methodName, Object onObj, Class[] declaredArgTypes, Object... withArgs)
  5. invokeVirtual(T o, Method method, Object... pa)
  6. invokeVoidNoArgMethod(Class declaringClass, String methodName, Object instance)
  7. invokeVoidSafe(Object obj, String methodName, Class paramClass, Object param)
  8. invokeWithoutDeclaredExceptions(Method method, Object target, Object... args)
  9. invokeWithoutInvocationException(Method m, Object obj, Object... args)