Java DevelopersGuide

(Difference between revisions)
(How Tos: How do I get a list of libraries/dependencies of a project)
(How Tos: How do I get the source location of a wrapped jar)
Line 48: Line 48:
[[JavaHT_GetLibrariesForModule| How do I get a list of libraries/dependencies of a project?]]
[[JavaHT_GetLibrariesForModule| How do I get a list of libraries/dependencies of a project?]]
 +
 +
[[JavaHT_GetSourceLocationOfWrappedJar| How do I get the source location of a wrapped jar?]]
== Tutorials ==
== Tutorials ==

Revision as of 21:01, 29 January 2015

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?

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