public interface IJavetCallbackReceiver
Modifier and Type | Method and Description |
---|---|
default java.lang.reflect.Method |
getMethod(java.lang.String methodName)
Gets method that does not take any arguments by method name.
|
default java.lang.reflect.Method |
getMethod(java.lang.String methodName,
boolean thisObjectRequired)
Gets method.
|
default java.lang.reflect.Method |
getMethod(java.lang.String methodName,
boolean thisObjectRequired,
int argCount)
Gets method that takes given number of arguments by method name.
|
default java.lang.reflect.Method |
getMethod(java.lang.String methodName,
java.lang.Class<?>... parameterTypes)
Gets method that is customized to given argument types by method name.
|
default java.lang.reflect.Method |
getMethod(java.lang.String methodName,
int argCount)
Gets method.
|
default java.lang.reflect.Method |
getMethodVarargs(java.lang.String methodName)
Gets method that takes an arbitrary number of arguments by method name.
|
default java.lang.reflect.Method |
getMethodVarargs(java.lang.String methodName,
boolean thisObjectRequired)
Gets method that takes an arbitrary number of arguments by method name.
|
V8Runtime |
getV8Runtime() |
default java.lang.reflect.Method getMethod(java.lang.String methodName) throws java.lang.NoSuchMethodException
methodName
- the method namejava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethod(java.lang.String methodName, int argCount) throws java.lang.NoSuchMethodException
methodName
- the method nameargCount
- the arg countjava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethod(java.lang.String methodName, boolean thisObjectRequired) throws java.lang.NoSuchMethodException
methodName
- the method namethisObjectRequired
- this object requiredjava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethod(java.lang.String methodName, boolean thisObjectRequired, int argCount) throws java.lang.NoSuchMethodException
methodName
- the method namethisObjectRequired
- this object requiredargCount
- the arg countjava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethod(java.lang.String methodName, java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException
methodName
- the method nameparameterTypes
- the parameter typesjava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethodVarargs(java.lang.String methodName) throws java.lang.NoSuchMethodException
methodName
- the method namejava.lang.NoSuchMethodException
- the no such method exceptiondefault java.lang.reflect.Method getMethodVarargs(java.lang.String methodName, boolean thisObjectRequired) throws java.lang.NoSuchMethodException
methodName
- the method namethisObjectRequired
- this object requiredjava.lang.NoSuchMethodException
- the no such method exceptionV8Runtime getV8Runtime()