Java Infrastructure Developer’s guide (AKA Concepts & HowTos) Apache NetBeans Wiki Index Note: These pages are being reviewed. Concepts How Tos Tutorials Concepts Overview The Javac phases Trees, Elements, Types and Tokens Conversions between trees and elements and types… Integration with the IDE Getting to the javac information = writting a java infrastructure task Registering/running tasks The ElementHandle The TreePathHandle Source files vs. Class Files Class Files vs. Signature Files How Tos How to setup a module which uses the Java related APIs How do I Get into the Javac Context for a File? How do I Get All Methods/Fields/Constructors of a Class? How do I do modification to a source file? How to work with TreeMaker TreeMaker difficulties, Questions & Answers How do I get an ElementHandle if all I have is the Project and the class name? How do I get a list of libraries/dependencies of a project? How do I get the source location of a wrapped jar? How do I get the packages contained in a jar/library/dependency? Tutorials https://netbeans.apache.org/tutorials/nbm-copyfqn.html https://netbeans.apache.org/tutorials/nbm-code-generator.html https://netbeans.apache.org/tutorials/nbm-java-hint.html http://netbeans.org/projects/platform/sources/platform-content/content/trunk/tutorials/60/nbm-whichelement.html?raw=true See this page in GitHub.