invocation property

Invocation invocation
final

The method that was called and its arguments.

The arguments preserve identity, but not value. Thus, if two invocations were made with the same Paint object, but with that object configured differently each time, then they will both have the same object as their argument, and inspecting that object will return the object's current values (mostly likely those passed to the second call).

Implementation

final Invocation invocation;