org.netbeans.modules.java.source 0.104.0 23

Deprecated API


Contents
Deprecated Classes
org.netbeans.api.java.source.CommentCollector
          Do not use. Use GeneratorUtilities.importComments(com.sun.source.tree.Tree, com.sun.source.tree.CompilationUnitTree) instead. 
org.netbeans.api.java.source.UiUtils
          Replaced by various classes in the org.netbeans.modules.java.sourceui module. 
org.netbeans.api.java.source.UiUtils.PrintPart
          Use constants from api.java.source.ui.ElementHeaders of the org.netbeans.modules.java.sourceui module 
 

Deprecated Methods
org.netbeans.api.java.source.CommentCollector.collect(TokenSequence, CompilationInfo)
          Do not use. Use GeneratorUtilities.importComments(com.sun.source.tree.Tree, com.sun.source.tree.CompilationUnitTree) instead. 
org.netbeans.api.java.source.CommentCollector.collect(WorkingCopy)
          Do not use. Use GeneratorUtilities.importComments(com.sun.source.tree.Tree, com.sun.source.tree.CompilationUnitTree) instead. 
org.netbeans.api.java.source.UiUtils.getDeclarationIcon(Element)
          Use api.java.source.ui.ElementIcons of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.CodeStyle.getDefault(Project)
          Please use CodeStyle.getDefault(javax.swing.text.Document) or CodeStyle.getDefault(org.openide.filesystems.FileObject) respectively. 
org.netbeans.api.java.source.UiUtils.getDistance(String, String)
          Use api.java.source.ui.ElementHeaders of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.getElementIcon(ElementKind, Collection)
          Use api.java.source.ui.ElementIcons of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.SourceUtils.getEnclosingTypeElement(Element)
          use ElementUtilities.enclosingTypeElement(javax.lang.model.element.Element) 
org.netbeans.api.java.source.SourceUtils.getFile(Element, ClasspathInfo)
          use SourceUtils.getFile(ElementHandle, ClasspathInfo) 
org.netbeans.api.java.source.UiUtils.getHeader(Element, CompilationInfo, String)
          Use api.java.source.ui.ElementHeaders of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.getHeader(TreePath, CompilationInfo, String)
          Use api.java.source.ui.ElementHeaders of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.CommentCollector.getInstance()
          Do not use. Use GeneratorUtilities.importComments(com.sun.source.tree.Tree, com.sun.source.tree.CompilationUnitTree) instead. 
org.netbeans.api.java.source.CompilationInfo.getJavaSource()
          Works only when the CompilationInfo was created by JavaSource using the compatibility bridge, when the CompilationInfo was created by the parsing api it returns null. Use CompilationInfo.getSnapshot() instead. 
org.netbeans.api.java.source.CompilationInfo.getPositionConverter()
          as of 0.42, this is superseded by Parsing API. 
org.netbeans.api.java.source.TreeUtilities.isAnnotation(ClassTree)
          since 0.67, Tree.getKind() == Kind.ANNOTATION_TYPE should be used instead. 
org.netbeans.api.java.source.TreeUtilities.isClass(ClassTree)
          since 0.67, Tree.getKind() == Kind.CLASS should be used instead. 
org.netbeans.api.java.source.TreeUtilities.isEnum(ClassTree)
          since 0.67, Tree.getKind() == Kind.ENUM should be used instead. 
org.netbeans.api.java.source.TreeUtilities.isInterface(ClassTree)
          since 0.67, Tree.getKind() == Kind.INTERFACE should be used instead. 
org.netbeans.api.java.source.UiUtils.open(ClasspathInfo, Element)
          Use api.java.source.ui.ElementOpen of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.open(FileObject, ElementHandle)
          Use api.java.source.ui.ElementOpen of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.open(FileObject, int)
           
org.netbeans.api.java.source.SourceUtils.waitScanFinished()
          use JavaSource.runWhenScanFinished(org.netbeans.api.java.source.Task, boolean) 
 


org.netbeans.modules.java.source 0.104.0 23

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.