MutableCallSite
Class MutableCallSite
- java.lang.Object
-
- java.lang.invoke.CallSite
-
- java.lang.invoke.MutableCallSite
public class MutableCallSite extends CallSite
A MutableCallSite
is a CallSite
whose target variable behaves like an ordinary field. An invokedynamic
instruction linked to a MutableCallSite
delegates all calls to the site's current target. The dynamic invoker of a mutable call site also delegates each call to the site's current target.
Here is an example of a mutable