Return reference from method
Format
areturn
Forms
areturn = 119 (0x77)
Stack
…, objectref → [empty]
Description
The objectref must be of type reference. The objectref is popped from the operand stack of the current frame ( Section 3.5, Frames) and pushed onto the operand stack of the frame of the invoker. Any other values on the operand stack of the current method are discarded.
The virtual machine then reinstates the frame of the invoker and returns control to the invoker.