Java DevelopersGuide

Revision as of 21:05, 29 January 2015 by Markiewb (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Java Infrastructure Developer's guide (AKA Concepts & HowTos)

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

Comparing Trees and Elements

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 Find All Usages of a Class?

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

http://platform.netbeans.org/tutorials/nbm-copyfqn.html

http://platform.netbeans.org/tutorials/nbm-code-generator.html

http://platform.netbeans.org/tutorials/nbm-java-hint.html

http://netbeans.org/projects/platform/sources/platform-content/content/trunk/tutorials/60/nbm-whichelement.html?raw=true

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo