Package com.tonic.analysis.execution.invoke
Invocation handling, covering native dispatch, lambda proxies and string concatenation.
-
Interface Summary Interface Description DelegatingHandler.InvocationCallback Callback that performs a delegated method invocation and returns its concrete result.InvocationContext Interpreter services available to an invocation handler: the call stack, heap, and class resolver.InvocationHandler Strategy for executing a resolved method call, producing a result that tells the interpreter how to proceed.NativeContext Services exposed to native-method handlers: heap access, class resolution, and guest string and exception construction.NativeHandlerProvider Contributor that registers a family of native-method handlers with a registry.NativeMethodHandler Handler that emulates a single native or intrinsic JDK method against interpreter state. -
Class Summary Class Description DelegatingHandler Invocation handler that routes every call through a user-supplied callback, converting thrown Java exceptions into guest heap exceptions.InvocationResult Outcome of a method invocation attempt, pairing a status with the value, exception, or frame it produced.LambdaProxyFactory Factory for heap proxy objects that stand in for invokedynamic lambda instances, storing captured arguments as capture$N fields.NativeRegistry Thread-safe registry mapping owner.name+descriptor keys to native-method handlers.RecursiveHandler Invocation handler that pushes interpreter frames for bytecode-backed methods, dispatches registered natives, and stubs absent bodies with default values.StringConcatHandler Interpreter-side implementation of StringConcatFactory call sites, expanding recipe strings into concatenated results. -
Enum Summary Enum Description InvocationResult.Status Outcome category of an invocation attempt. -
Exception Summary Exception Description NativeException Exception raised by a native-method handler, carrying the internal name of the guest exception class to materialize.