当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Change History for the Java Source API - NetBeans API Javadoc (Current Development Version)
Overview
Introduction
This document lists changes made to the Java Source API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated
APIs continue to essentially work. For a full deprecation list, please
consult the
Javadoc.
These API specification versions may be used to indicate that a module
requires a certain API feature in order to function. For example, if you
see here a feature you need which is labelled 1.20, your
manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.java.source > 1.20
Apr 24 '07; API spec. version: 0.13; made by: jbecicka; issues:
#102333
There is no simple way how to weakly reference all elements from javac. For instance local variables cannot be referenced by
ElementHandles while source-less Elements cannot be referenced by TreePathHandles. This fix allows to create TreePathHandles
for any javac Element (both local and source less).
Apr 19 '07; API spec. version: 0.12; made by: tzezula; issues:
#91117
#99923
The JavaSource.runWhenScanFinished performs the given task either synchronously when no background scan is running. When the background
scan is running the task is performed asynchronously when the scan completes.
Apr 13 '07; API spec. version: 0.10; made by: tzezula; issues:
#92030
The refactoring and find usages need to find the dependent roots of a project root in which the refactored type
is declared, but finding such an information using the project API may be very expensive especially when lots of
projects is opened. The goal of this API is to provide and cache this information.
Apr 4 '07; API spec. version: 0.8; made by: tzezula; issues:
#91763
The listener for listening on changes in the
ClassIndex
was added. The listener fires
events when a declared type was removed, added, changed in the
ClassIndex
oe when the underlaying
ClassPath
was changed.
Mar 26 '07; API spec. version: 0.7; made by: jpokorsky; issues:
#95399
Added the template attribute
package
for templates using scripting language.
Mar 18 '07; API spec. version: 0.6; affected top-level classes: TypeUtilities
; made by: jlahoda; issues:
#97542
- removed org.netbeans.api.java.source.CommentUtilities
- removed org.netbeans.api.java.source.TreeMaker.Variable(..., TypeElement)
- removed org.netbeans.api.java.source.TreeMaker.Method(..., TypeElement)
- added org.netbeans.api.java.source.TypeUtilities
Compatibility: