| 程序包 | 说明 |
|---|---|
| org.ssssssss.script.parsing.ast.statement | |
| org.ssssssss.script.reflection |
| 限定符和类型 | 方法和说明 |
|---|---|
JavaInvoker<Method> |
FunctionCall.getCachedFunction() |
JavaInvoker<Method> |
MethodCall.getCachedMethod()
Returns the cached member descriptor as returned by
AbstractReflection.getMethod(Object, String, Object...). |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FunctionCall.setCachedFunction(JavaInvoker<Method> cachedFunction) |
void |
MethodCall.setCachedMethod(JavaInvoker<Method> cachedMethod)
Sets the method descriptor as returned by
AbstractReflection.getMethod(Object, String, Object...) for faster lookups. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MethodInvoker |
| 限定符和类型 | 方法和说明 |
|---|---|
static JavaInvoker<Constructor> |
JavaReflection.findConstructorInvoker(List<Constructor<?>> constructors,
Class<?>[] parameterTypes) |
static <T extends Executable> |
JavaReflection.findInvoker(List<JavaInvoker<T>> executables,
Class<?>[] parameterTypes) |
static JavaInvoker<Method> |
JavaReflection.findMethodInvoker(List<JavaInvoker<Method>> methods,
Class<?>[] parameterTypes) |
JavaInvoker<Method> |
JavaReflection.getExtensionMethod(Object obj,
String name,
Object... arguments) |
JavaInvoker<Method> |
JavaReflection.getFunction(String name,
Object... arguments) |
abstract JavaInvoker<Method> |
AbstractReflection.getFunction(String name,
Object... arguments) |
JavaInvoker<Method> |
JavaReflection.getMethod(Object obj,
String name,
Object... arguments) |
abstract JavaInvoker<Method> |
AbstractReflection.getMethod(Object obj,
String name,
Object... arguments)
Returns an opaque handle to the method with the given name best matching the signature implied by the given arguments, or
null if the method could not be found.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<JavaInvoker<Method>> |
JavaReflection.getFunctions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Executable> |
JavaReflection.findInvoker(List<JavaInvoker<T>> executables,
Class<?>[] parameterTypes) |
static JavaInvoker<Method> |
JavaReflection.findMethodInvoker(List<JavaInvoker<Method>> methods,
Class<?>[] parameterTypes) |
Copyright © 2020–2021. All rights reserved.