org.netbeans.modules.java.source 0.80.1 17

Deprecated API


Contents
Deprecated Classes
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 org.netbeans.api.java.source.ui.ElementHeaders of the org.netbeans.modules.java.sourceui module 
 

Deprecated Methods
org.netbeans.api.java.source.UiUtils.getDeclarationIcon(Element)
          Use org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection) 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 org.netbeans.api.java.source.ui.ElementHeaders#getDistance(java.lang.String, java.lang.String) of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.getElementIcon(ElementKind, Collection)
          Use org.netbeans.api.java.source.ui.ElementIcons#getElementIcon(javax.lang.model.element.ElementKind, java.util.Collection) 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 org.netbeans.api.java.source.ui.ElementHeaders#getHeader(javax.lang.model.element.Element, org.netbeans.api.java.source.CompilationInfo, java.lang.String) of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.getHeader(TreePath, CompilationInfo, String)
          Use org.netbeans.api.java.source.ui.ElementHeaders#getHeader(com.sun.source.util.TreePath, org.netbeans.api.java.source.CompilationInfo, java.lang.String) of the org.netbeans.modules.java.sourceui module 
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 org.netbeans.api.java.source.ui.ElementOpen#open(org.netbeans.api.java.source.ClasspathInfo, org.netbeans.api.java.source.ElementHandle) of the org.netbeans.modules.java.sourceui module 
org.netbeans.api.java.source.UiUtils.open(FileObject, ElementHandle)
          Use org.netbeans.api.java.source.ui.ElementOpen#open(org.openide.filesystems.FileObject, org.netbeans.api.java.source.ElementHandle) 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.80.1 17

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.