| Package | Description |
|---|---|
| bsh |
| Modifier and Type | Method and Description |
|---|---|
static Invocable |
Reflect.findMostSpecificInvocable(java.lang.Class<?>[] idealMatch,
java.util.List<Invocable> methods)
Find the best match for signature idealMatch and return the method.
|
static Invocable |
Invocable.get(java.lang.reflect.Constructor<?> c)
Public invocable class method for making constructor invocables.
|
static Invocable |
Invocable.get(java.lang.reflect.Method m)
Public invocable class method for making method invocables.
|
protected static Invocable |
Reflect.resolveExpectedJavaField(java.lang.Class<?> clas,
java.lang.String fieldName,
boolean staticOnly) |
protected static Invocable |
Reflect.resolveExpectedJavaMethod(BshClassManager bcm,
java.lang.Class<?> clas,
java.lang.Object object,
java.lang.String name,
java.lang.Object[] args,
boolean staticOnly)
This method wraps resolveJavaMethod() and expects a non-null method
result.
|
protected static Invocable |
Reflect.resolveJavaField(java.lang.Class<?> clas,
java.lang.String fieldName,
boolean staticOnly) |
protected static Invocable |
Reflect.resolveJavaMethod(java.lang.Class<?> clas,
java.lang.String name,
java.lang.Class<?>[] types,
boolean staticOnly)
The full blown resolver method.
|
| Modifier and Type | Method and Description |
|---|---|
static Invocable |
Reflect.findMostSpecificInvocable(java.lang.Class<?>[] idealMatch,
java.util.List<Invocable> methods)
Find the best match for signature idealMatch and return the method.
|
static int |
Reflect.findMostSpecificInvocableIndex(java.lang.Class<?>[] idealMatch,
java.util.List<Invocable> methods)
Find the best match for signature idealMatch and return the position
of the matching signature within the list.
|