|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Java Support APIs | |
org.netbeans.api.java.classpath | Representation of Java classpaths, and the ability to find the classpath needed for a particular purpose. |
org.netbeans.api.java.queries | Java-specific queries. |
org.netbeans.spi.java.classpath | SPI permitting new classpaths to be constructed and registered. |
org.netbeans.spi.java.classpath.support | Convenience classes to make it easier to create classpaths. |
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.
Added two static methods, findSources(FileObject)
and findUnitTests(FileObject)
,
into UnitTestForSourceQuery
. Added a new SPI interface
MultipleRootsUnitTestForSourceQueryImplementation
which allows to a project type to return
more than one source/test root.
The change was required to allow support of multiple source and test roots.
Added query answering the source level of a Java file.
ClassPath
API changed to be pluggable and better support build system
ClassPath
is now final, not abstract. (Not
incompatible, since the constructor was never public.) Same
for ClassPath.Entry
.
getClassPath
now looks for
ClassPathProvider
s rather than delegating to the
filesystems mounted in Repository
.
The classpath type DEBUG
was deprecated.
SOURCE
and BOOT
were added.
ClassPath.Entry.getURL()
was added.
There is a complete SPI for creating ClassPath
instances.
GlobalPathRegistry
Added a new class GlobalPathRegistry
to represent
classpaths of current interest, typically from open projects.
Several new queries were added (API and SPI) to represent various aspects of Java sources.
The API is widely used by all sorts of IDE modules which need to work with Java sources. They can obtain the classpath or boot classpath for a file (if there is one), find out where its source root is, find sources corresponding to bytecode class files, find all sources or classpaths corresponding to open projects, find Javadoc, etc. The SPI is intended mainly for Java platform and library providers, and project type providers, to declare all of this information.
|
OpenIDE-Module-Module-Dependencies: org.netbeans.api.java/1 > 1.10.1
Read more about the implementation in the answers to architecture questions.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |