类的使用
org.ssssssss.script.reflection.JavaInvoker
使用JavaInvoker的程序包
-
org.ssssssss.script.reflection中JavaInvoker的使用
修饰符和类型方法说明JavaInvoker.copy()static JavaInvoker<Constructor>JavaReflection.findConstructorInvoker(List<Constructor<?>> constructors, Class<?>[] parameterTypes) static JavaInvoker<Method>JavaReflection.findInvoker(Class<?> cls, String name) static JavaInvoker<Method>JavaReflection.findInvoker(Class<?> cls, String name, Class<?>[] parameterTypes) Returns the method best matching the given signature, including type coercion, or null.static <T extends Executable>
JavaInvoker<T>JavaReflection.findInvoker(List<JavaInvoker<T>> executables, Class<?>[] parameterTypes) static JavaInvoker<Method>JavaReflection.findMethodInvoker(List<JavaInvoker<Method>> methods, Class<?>[] parameterTypes) static JavaInvoker<Method>JavaReflection.getExtensionMethod(Object obj, String name, Object... arguments) static JavaInvoker<Method>JavaReflection.getFunction(String name, Object... arguments) static JavaInvoker<Method>返回变量类型为JavaInvoker的类型的org.ssssssss.script.reflection中的方法类型变量类型为JavaInvoker的org.ssssssss.script.reflection中的方法参数修饰符和类型方法说明static <T extends Executable>
JavaInvoker<T>JavaReflection.findInvoker(List<JavaInvoker<T>> executables, Class<?>[] parameterTypes) static JavaInvoker<Method>JavaReflection.findMethodInvoker(List<JavaInvoker<Method>> methods, Class<?>[] parameterTypes)