See: Description
| Package | Description |
|---|---|
| org.netbeans.api.java.classpath | |
| org.netbeans.api.java.queries |
Java-specific queries.
|
| org.netbeans.spi.java.queries |
Implementations of Java-related queries.
|
JavaSupportAPIs The Java Support APIs provides basic facilities for getting or supplying information about Java-language source files. It is based on the query pattern so implementations can be supplied from other modules or projects.
SourceLevelQuery supports JDK 8 profiles
The JDK Profile was changed to enum type.
SourceLevelQuery supports JDK 8 profiles
The JDK 8 provides three limited profiles (compact1, compact2, compact3) in addition
to the full JDK. Each profile specifies a specific set of Java API packages and
contains all of the APIs of the smaller profile. The new API allows a client of the
SourceLevelQuery to query the required profile.
SourceLevelQuery supports source level synonyms
The semantics of the SourceLevelQuery, SourceLevelQueryImplementation
and SourceLevelQueryImplementation2 was extended to support source level synonyms.
The SourceLevelQueryImplementation and SourceLevelQueryImplementation2
can return source level synonyms, e.g. "5" for "1.5". These synonyms are always normalized
by the SourceLevelQuery before they are teturned to an API client.
Added a new COMPILE_ONLY classpath type allowing project types to add
classpath resources which should be included in the complile classpath but should not
be inherited by runtime classpath.
Added an API to allow clients to attach source roots and javadoc roots to binary roots. The API delegates to SPI implementations which provide specific behavior depending on type of binary root (platform, library, maven artifact). There is also fallback implementation handling unknown binary roots by storing the bindings into IDE's userdir.
The API is widely used by all sorts of IDE modules which need to work with Java sources. They can find Javadoc, unit tests, source level, etc. The SPI is intended mainly for Java platform and library providers, and project type providers, to declare all of this information.
|
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.