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: 387, Answers: 66)
Asked on April 28, 2015 8:29 pm
92 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: 17, Answers: 807)
Answered on April 28, 2015 8:29 pm
0
Thanks, that's cool. I didn't know about that capability.
( at April 28, 2015 8:34 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top