Example usage for Java org.eclipse.jdt.core.dom TypeDeclarationStatement fields, constructors, methods, implement or subclass
The text is from its open source code.
TypeDeclarationStatement(AST ast) Creates a new unparented local type declaration statement node owned by the given AST. |
AST | getAST() Returns this node's AST. |
AbstractTypeDeclaration | getDeclaration() Returns the abstract type declaration of this local type declaration statement (added in JLS3 API). |
int | getLength() Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends. |
ASTNode | getParent() Returns this node's parent node, or null if this is the root node. |
int | getStartPosition() Returns the character index into the original source file indicating where the source fragment corresponding to this node begins. |
TypeDeclaration | getTypeDeclaration() Returns the type declaration of this local type declaration statement (JLS2 API only). |
TypeDeclaration | internalGetTypeDeclaration() Internal synonym for deprecated method. |
ITypeBinding | resolveBinding() Resolves and returns the binding for the class or interface declared in this type declaration statement. |
void | setDeclaration(AbstractTypeDeclaration decl) Sets the abstract type declaration of this local type declaration statement (added in JLS3 API). |
void | setSourceRange(int startPosition, int length) Sets the source range of the original source file where the source fragment corresponding to this node was found. |
String | toString() Returns a string representation of this node suitable for debugging purposes only. |