|
| static boolean | loadUnguarded (final String thisClassName) throws ClassNotFoundException |
| |
|
| static public< T > T | invokeUnguarded (final String thisClassName, final String thisMethodName, final Object... theseArgs) throws ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException |
| |
| static public< T > T | invoke (final String thisClassName, final String thisMethodName, final Object... theseArgs) |
| |
Utility class to invoke class methods dynamically
- Author
- Bernard Bou
◆ invoke()
| static public<T> T grammarscope.tweak.Invoke.invoke |
( |
final String |
thisClassName, |
|
|
final String |
thisMethodName, |
|
|
final Object... |
theseArgs |
|
) |
| |
|
staticpackage |
Dynamically invoke method (exception guarded)
- Parameters
-
| thisClassName | class name |
| thisMethodName | method name |
| theseArgs | arguments |
| <T> | type of result |
- Returns
- result
◆ invokeUnguarded()
| static public<T> T grammarscope.tweak.Invoke.invokeUnguarded |
( |
final String |
thisClassName, |
|
|
final String |
thisMethodName, |
|
|
final Object... |
theseArgs |
|
) |
| throws ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException |
|
staticpackage |
Dynamically invoke method (exception unguarded)
- Parameters
-
| thisClassName | class name |
| thisMethodName | method name |
| theseArgs | arguments |
| <T> | type of result |
- Returns
- result
- Exceptions
-
| ClassNotFoundException | exception |
| SecurityException | exception |
| NoSuchMethodException | exception |
| IllegalArgumentException | exception |
| IllegalAccessException | exception |
| InvocationTargetException | exception |
◆ loadUnguarded()
| static boolean grammarscope.tweak.Invoke.loadUnguarded |
( |
final String |
thisClassName | ) |
throws ClassNotFoundException |
|
static |
Dynamically load class (exception unguarded)
- Parameters
-
- Returns
- always true
- Exceptions
-
| ClassNotFoundException | exception |
| SecurityException | exception |
The documentation for this class was generated from the following file: