Deprecated
For crude customization, you can add your own methods to your own version and place it on the classpath ahead of this one.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getInvokeSpecialHandle(final Method method, final Object receiver)
Overrides org. Implements org. |
| private static Constructor | |
| public int | getVersion()
Overrides org. Implements org. |
| public void | |
| public Object | invokeHandle(Object
the handle handle, Object[] arguments for the method call, can be empty but not null args)Overrides org. Implements org. |
| Java7 | back to summary |
|---|---|
| public Java7() | |
| getInvokeSpecialHandle | back to summary |
|---|---|
| public Object getInvokeSpecialHandle(final Method method, final Object receiver) Overrides org. Implements org. Doc from org. Returns a handle with bound receiver to invokeSpecial the given method. This method will require at least Java 7, but since the source has to compile on older Java versions as well it is not marked to return a MethodHandle and uses Object instead | |
| getLookupConstructor | back to summary |
|---|---|
| private static Constructor | |
| getVersion | back to summary |
|---|---|
| public int getVersion() Overrides org. Implements org. Doc from org. Gives the version the plugin is made for
| |
| invalidateCallSites | back to summary |
|---|---|
| public void invalidateCallSites() Overrides org. Implements org.
| |
| invokeHandle | back to summary |
|---|---|
| public Object invokeHandle(Object handle, Object[] args) throws Throwable Overrides org. Implements org. Doc from org. Invokes a handle produced by #getInvokeSpecialdHandle | |
| Modifier and Type | Field and Description |
|---|---|
| private static final Constructor |
| Access | Constructor and Description |
|---|---|
| private |
| LOOKUP_Constructor | back to summary |
|---|---|
| private static final Constructor<MethodHandles. | |
| LookupHolder | back to summary |
|---|---|
| private LookupHolder() | |