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.NameKind |
ClassIndex.NameKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassIndex.NameKind[] |
ClassIndex.NameKind.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<ModuleElement>> |
ClassIndex.getDeclaredModules(String name,
ClassIndex.NameKind kind,
Set<? extends ClassIndex.SearchScopeType> scope)
Returns
ElementHandle s for all declared modules in given classpath corresponding to the name. |
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
ElementHandle s for all declared types in given classpath corresponding to the name. |