Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Method and Description |
---|---|
Map<? extends Element,Scope> |
ElementUtilities.findElementsAndOrigins(Scope scope,
ElementUtilities.ElementAcceptor acceptor)
Finds symbols which satisfy the acceptor visible in the passed scope.
|
Iterable<? extends TypeElement> |
ElementUtilities.getGlobalTypes(ElementUtilities.ElementAcceptor acceptor)
Return
TypeElement s:
which are imported
which are in the same package as the current file
which are in the java.lang package
|
Iterable<? extends Element> |
ElementUtilities.getLocalMembersAndVars(Scope scope,
ElementUtilities.ElementAcceptor acceptor)
Return members declared in the given scope.
|
Iterable<? extends Element> |
ElementUtilities.getLocalVars(Scope scope,
ElementUtilities.ElementAcceptor acceptor)
Return variables declared in the given scope.
|
Iterable<? extends Element> |
ElementUtilities.getMembers(TypeMirror type,
ElementUtilities.ElementAcceptor acceptor)
Returns all members of a type, whether inherited or
declared directly.
|