|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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
|
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 ElementHandle s 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 ElementHandle s 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 ElementHandle s 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 | |||||||||
PREV NEXT | FRAMES NO FRAMES |