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.SearchKind |
ClassIndex.SearchKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.SearchKind[] |
ClassIndex.SearchKind.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.getElements(ElementHandle<TypeElement> element,
Set<ClassIndex.SearchKind> searchKind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns a set of
ElementHandle s 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
ElementHandle s containing reference(s) to given package element. |
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.getResources(ElementHandle<TypeElement> element,
Set<ClassIndex.SearchKind> searchKind,
Set<? extends ClassIndex.SearchScopeType> scope,
Set<ClassIndex.ResourceType> resourceType)
Returns a set of source or binary 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.
|