Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Method and Description |
---|---|
static ClassIndex.SearchScope |
ClassIndex.SearchScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.SearchScope[] |
ClassIndex.SearchScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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. |
Set<String> |
ClassIndex.getPackageNames(String prefix,
boolean directOnly,
Set<ClassIndex.SearchScope> scope)
Returns names af all packages in given classpath starting with prefix.
|
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.
|
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.