is there any command available that can print all newly created methods in current jshell session? 
Something similar to /list but only for methods 
            Asked
            
        
        
            Active
            
        
            Viewed 377 times
        
    7
            
            
        
        Naman
        
- 27,789
 - 26
 - 218
 - 353
 
        Niraj Sonawane
        
- 10,225
 - 10
 - 75
 - 104
 
1 Answers
5
            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
        Naman
        
- 27,789
 - 26
 - 218
 - 353