is there any command available that can print all newly created methods in current jshell session?
Something similar to /list
but only for methods
You are looking for the command
/methods -all
which prints all the methods including those added when JShell was started, and methods that failed, were overwritten, or were dropped.
For active methods declared by you, use it simply without any argument as :
/methods
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With