Java org.eclipse.jdt.core.dom TypeDeclarationStatement fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom TypeDeclarationStatement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom TypeDeclarationStatement.

The text is from its open source code.

Constructor

TypeDeclarationStatement(AST ast)
Creates a new unparented local type declaration statement node owned by the given AST.

Method

ASTgetAST()
Returns this node's AST.
AbstractTypeDeclarationgetDeclaration()
Returns the abstract type declaration of this local type declaration statement (added in JLS3 API).
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
TypeDeclarationgetTypeDeclaration()
Returns the type declaration of this local type declaration statement (JLS2 API only).
TypeDeclarationinternalGetTypeDeclaration()
Internal synonym for deprecated method.
ITypeBindingresolveBinding()
Resolves and returns the binding for the class or interface declared in this type declaration statement.
voidsetDeclaration(AbstractTypeDeclaration decl)
Sets the abstract type declaration of this local type declaration statement (added in JLS3 API).
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.