Java Method Call invokedMethod(java.lang.Object closure, java.lang.Class targetClass, java.lang.String targetMethod)

Here you can find the source of invokedMethod(java.lang.Object closure, java.lang.Class targetClass, java.lang.String targetMethod)

Description

Test whether the given closure invokes the specified method in the specified class.

License

Apache License

Parameter

Parameter Description
closure (undocumented)
targetClass (undocumented)
targetMethod (undocumented)

Return

(undocumented)

Declaration

static public boolean invokedMethod(java.lang.Object closure, java.lang.Class<?> targetClass,
        java.lang.String targetMethod) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**// w  w  w .  j  a va  2s. co  m
     * Test whether the given closure invokes the specified method in the specified class.
     * @param closure (undocumented)
     * @param targetClass (undocumented)
     * @param targetMethod (undocumented)
     * @return (undocumented)
     */
    static public boolean invokedMethod(java.lang.Object closure, java.lang.Class<?> targetClass,
            java.lang.String targetMethod) {
        throw new RuntimeException();
    }
}

Related

  1. invokeDeclared(Class c, Object obj, String method, Class[] paramClasses, Object[] params)
  2. invokeDeclaredMethod(Object object, String methodName, Object... parameters)
  3. invokeDeclaredMethod(String methodName, Object target, Class[] parameterTypes, Object[] parameters)
  4. invokeDeclaredMethodWithAnnotation(Class annotationClass, Object target)
  5. invokeDefaultMethod(final Method method, final Object[] args, final Object proxy)
  6. invokeExactField(Object object, String fieldName)
  7. invokeExactMethod(Object object, String methodName, Object[] args, Class[] parameterTypes)
  8. invokeFunction(Object iFunction, String funcName, String param)
  9. invokeFunctions(Object iFunction, String funcName)