Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.