title: Is there a library which can identify the Swing GUI components within a java class?
body: <p>I would like to be able to identify the GUI components with a class. So for example if class GUI,  which extends JFrame, has a JButton component and Jpassword component, I need to be able to know that these two components are within this class, and possibly in which methods they are used. </p>
  
  <p>The only idea I can think of to be able to acquire this information is parsing. Does anyone know of a library which is able to extract this kind of information from the Java source code file please?</p>