How to see Java object methods without using object spy?

  • Questions
  • How to see Java object methods without using object spy?
Question ID: 106059
1
0

I have a Java application that I’m working with. I would like to know if there is a way to see the methods of an object at run-time without using the Object Spy?

Marked as spam
Posted by (Questions: 339, Answers: 20)
Asked on April 28, 2015 8:29 pm
10 views
Answers (1)
1
Private answer

Try using the undocumented feature called MethodWizard. This will pop up a Java window with the methods available. You can double click each method and see the Public, Private, Protected and Default methods available.

Example:

JavaWindow(''SwingSet'').JavaButton(''Two'').MethodWizard

Marked as spam
Posted by (Questions: 16, Answers: 749)
Answered on April 28, 2015 8:29 pm
Thanks, that's cool. I didn't know about that capability.
( at April 28, 2015 8:34 pm)