Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Method and Description |
---|---|
TypeDeclaration |
TypeDeclarationStatement.getTypeDeclaration()
Deprecated.
In the JLS3 API, this method is replaced by
TypeDeclarationStatement.getDeclaration() , which returns AbstractTypeDeclaration
instead of TypeDeclaration . |
TypeDeclaration[] |
TypeDeclaration.getTypes()
Returns the ordered list of member type declarations of this type
declaration.
|
TypeDeclaration |
AST.newTypeDeclaration()
Creates an unparented class declaration node owned by this AST.
|
Modifier and Type | Method and Description |
---|---|
void |
ASTVisitor.endVisit(TypeDeclaration node)
End of visit the given type-specific AST node.
|
boolean |
ASTMatcher.match(TypeDeclaration node,
Object other)
Returns whether the given node and the other object match.
|
TypeDeclarationStatement |
AST.newTypeDeclarationStatement(TypeDeclaration decl)
Creates a new unparented local type declaration statement node
owned by this AST, for the given type declaration.
|
void |
TypeDeclarationStatement.setTypeDeclaration(TypeDeclaration decl)
Deprecated.
In the JLS3 API, this method is replaced by
TypeDeclarationStatement.setDeclaration(AbstractTypeDeclaration) which takes
AbstractTypeDeclaration instead of
TypeDeclaration . |
boolean |
ASTVisitor.visit(TypeDeclaration node)
Visits the given type-specific AST node.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.