Provide a human-readable representation of this object.
()
| 675 | |
| 676 | /** Provide a human-readable representation of this object. */ |
| 677 | @Override |
| 678 | public String toString() { |
| 679 | if (library != null) { |
| 680 | return "native function " + functionName + "(" + library.getName() |
| 681 | + ")@0x" + Long.toHexString(peer); |
| 682 | } |
| 683 | return "native function@0x" + Long.toHexString(peer); |
| 684 | } |
| 685 | |
| 686 | /** Convenience method for |
| 687 | * {@link #invoke(Class,Object[]) invokeObject(Object.class, args)}. |
no test coverage detected