站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Uses of Class org.netbeans.api.java.source.ElementHandle (Java Source) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.java.source 0.13.0 1

Uses of Class
org.netbeans.api.java.source.ElementHandle

Packages that use ElementHandle
org.netbeans.api.java.source The package name will very likely change in the future 
 

Uses of ElementHandle in org.netbeans.api.java.source
 

Methods in org.netbeans.api.java.source that return ElementHandle
static
<T extends Element>
ElementHandle<T>
ElementHandle.create(T element)
          Factory method for creating ElementHandle.
 

Methods in org.netbeans.api.java.source that return types with arguments of type ElementHandle
 Set<ElementHandle<TypeElement>> ClassIndex.getDeclaredTypes(String name, ClassIndex.NameKind kind, Set<ClassIndex.SearchScope> scope)
          Returns ElementHandles for all declared types in given classpath corresponding to the name.
 Set<ElementHandle<TypeElement>> ClassIndex.getElements(ElementHandle<TypeElement> element, Set<ClassIndex.SearchKind> searchKind, Set<ClassIndex.SearchScope> scope)
          Returns a set of ElementHandles containing reference(s) to given element.
static Collection<ElementHandle<TypeElement>> SourceUtils.getMainClasses(FileObject fo)
          Returns classes declared in the given source file which have the main method.
static Collection<ElementHandle<TypeElement>> SourceUtils.getMainClasses(FileObject[] sourceRoots)
          Returns classes declared under the given source roots which have the main method.
 Iterable<? extends ElementHandle<TypeElement>> TypesEvent.getTypes()
          Returns the affected declared types.
 

Methods in org.netbeans.api.java.source with parameters of type ElementHandle
 Set<ElementHandle<TypeElement>> ClassIndex.getElements(ElementHandle<TypeElement> element, Set<ClassIndex.SearchKind> searchKind, Set<ClassIndex.SearchScope> scope)
          Returns a set of ElementHandles containing reference(s) to given element.
static FileObject SourceUtils.getFile(ElementHandle<? extends Element> handle, ClasspathInfo cpInfo)
          Returns a FileObject of the source file in which the handle is declared.
 Set<FileObject> ClassIndex.getResources(ElementHandle<TypeElement> element, Set<ClassIndex.SearchKind> searchKind, Set<ClassIndex.SearchScope> scope)
          Returns a set of source files containing reference(s) to given element.
static boolean UiUtils.open(FileObject toSearch, ElementHandle<? extends Element> toOpen)
           
 boolean ElementHandle.signatureEquals(ElementHandle<? extends Element> handle)
          Tests if the handle has the same signature as the parameter.
 


org.netbeans.modules.java.source 0.13.0 1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.