|
org.netbeans.api.java/1 1.33.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Java Support APIs | |
---|---|
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.
The SourceLevelQuery did not allow listening on the source level changes. Such a notifications are required by the annotation processor support and indexing. This API change adds a SourceLevelQuery.getSourceLevel2 which returns a Result object which allows listening like other queries.
Modifying AnnotationProcessingQuery.Result.annotationProcessingEnabled() to return a set of triggers on which the annotation processors should be run.
Adding AnnotationProcessingQuery.Result.processorOptions() to return options passed to annotation processors (-Akey=value).
Adding AnnotationProcessingQuery return annotation processing options for a given file/folder.
Class org.netbeans.api.java.classpath.JavaClassPathConstants is created to hold java specific classpath constants. org.netbeans.api.java.classpath.JavaClassPathConstants.PROCESSOR_PATH constant is created as a key for Java processor path.
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.
|
org.netbeans.api.java/1 1.33.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |