The new Java shell, jshell, allows tab completion which shows all methods available to a given instance of a class. For example, If I do...
jshell> Integer myInt = 3
myInt ==> 3
jshell> myInt. <<< + TAB >>>
byteValue() compareTo( doubleValue() equals( floatValue()
getClass() hashCode() intValue() longValue() notify()
notifyAll() shortValue() toString() wait(
...I see all of the methods available to an Integer
object. How do I see the methods and variables available to the class at large, not just an instance of the class?