| Package | Description |
|---|---|
| org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassIndex.SearchScope
Default predefined
ClassIndex.SearchScopeTypes |
| Modifier and Type | Method and Description |
|---|---|
static ClassIndex.SearchScopeType |
ClassIndex.createPackageSearchScope(ClassIndex.SearchScopeType base,
String... pkgs)
Creates a search scope limited to list of packages.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassIndex.SearchScopeType |
ClassIndex.createPackageSearchScope(ClassIndex.SearchScopeType base,
String... pkgs)
Creates a search scope limited to list of packages.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<ClassIndex.Symbols> |
ClassIndex.getDeclaredSymbols(String name,
ClassIndex.NameKind kind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns descriptions of symbols found on the given classpath and matching the additional criteria.
|
Set<ElementHandle<TypeElement>> |
ClassIndex.getDeclaredTypes(String name,
ClassIndex.NameKind kind,
Set<? extends ClassIndex.SearchScopeType> 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<? extends ClassIndex.SearchScopeType> scope)
Returns a set of
ElementHandles containing reference(s) to given type element. |
Set<ElementHandle<TypeElement>> |
ClassIndex.getElementsForPackage(ElementHandle<PackageElement> element,
Set<ClassIndex.SearchKind> searchKind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns a set of
ElementHandles containing reference(s) to given package element. |
Set<String> |
ClassIndex.getPackageNames(String prefix,
boolean directOnly,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns names af all packages in given classpath starting with prefix.
|
Set<FileObject> |
ClassIndex.getResources(ElementHandle<TypeElement> element,
Set<ClassIndex.SearchKind> searchKind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns a set of source files containing reference(s) to given type element.
|
Set<FileObject> |
ClassIndex.getResourcesForPackage(ElementHandle<PackageElement> element,
Set<ClassIndex.SearchKind> searchKind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns a set of source files containing reference(s) to given package element.
|
Built on May 20 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.