Which Tree module on NetBeans Plugin Portal
I have uploaded the WhichTree module to the NetBeans Plugin Portal.
This
module shows information about the Javac Tree Path at the caret
position in current Java editor in a read-only text field in the status
bar. The information is updated as the caret moves. The text field can
be hidden and shown using the button on it's left. The tool tip shows
the full text so that it can be seen when it is wider than 40 columns.

Double clicking on the text field shows a dialog which shows the Tree
Path in a tree. The source for the selected Tree is shown in a text
area. This is a good tool to understand how the Javac sees the Java
source.
The IDs shown in the tree are the TreeKind enumeration values.

This is along the lines of WhichElement module I blogged about a few months ago.
Sources (on branch release60)
DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.
Posted by sandipchitale
( Nov 30 2007, 06:24:08 AM PST ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/which_tree_module_on_netbeans