Package | Description |
---|---|
javax.ide.model.java.declaration |
Declaration model.
|
javax.ide.model.java.source |
Various interfaces for use with Tree objects.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationD
Represents an annotation (not to be confused with an annotation type).
|
interface |
ArrayTypeD
Represents an array type.
|
interface |
ClassD
Represents a primitive, class, interface, enum, or annotation type.
|
interface |
ConstructorD
Represents a constructor.
|
interface |
ExecutableD
Common supertype for constructor and method declarations.
|
interface |
FieldD
Represents a field or enum constant.
|
interface |
GenericD
Common supertype for Declaration elements that may declare type parameters.
|
interface |
HasAnnotationsD
Common supertype for Declaration elements that may have annotations.
|
interface |
HasNameD
Common supertype for Declaration elements that have a name.
|
interface |
HasTypeD
Common supertype for Declaration elements that have a type.
|
interface |
LocalVariableD
Represents a local variable.
|
interface |
MemberD
Represents a member declaration, part of a type declaration.
|
interface |
MethodD
Represents a method or annotation element.
|
interface |
PackageD
Represents a package.
|
interface |
ParameterD
Represents a parameter.
|
interface |
TypeD
Represents a type.
|
interface |
TypeVariableD
Represents a type variable.
|
interface |
WildcardTypeD
Represents a wildcard type.
|
Modifier and Type | Method and Description |
---|---|
Declaration |
TreeResolver.getResolvedDeclaration(Tree tree)
Resolves this tree into a declaration reference.
|
Modifier and Type | Method and Description |
---|---|
Tree |
TreeLocator.getTree(Declaration d)
Gets the Tree object that declares the given declaration, null if none.
|