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

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

Introduction

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

The text is from its open source code.

Subclass

org.eclipse.jdt.core.dom.BodyDeclaration has subclasses.
Click this link to see all its subclasses.

Field

ASTNode.NodeListmodifiers
The extended modifiers (element type: IExtendedModifier ).

Method

voidaccept(ASTVisitor visitor)
Accepts the given visitor on a visit of the current node.
booleanequals(Object obj)
The ASTNode implementation of this Object method uses object identity (==).
ASTgetAST()
Returns this node's AST.
JavadocgetJavadoc()
Returns the doc comment node.
ChildPropertyDescriptorgetJavadocProperty()
Returns structural property descriptor for the "javadoc" property of this node (child type: Javadoc ).
intgetLength()
Returns the length in characters of the original source file indicating where the source fragment corresponding to this node ends.
StructuralPropertyDescriptorgetLocationInParent()
Returns the location of this node within its parent, or null if this is a root node.
intgetModifiers()
Returns the modifiers explicitly specified on this declaration.
ChildListPropertyDescriptorgetModifiersProperty()
Returns structural property descriptor for the "modifiers" property of this node as used in JLS3 (element type: IExtendedModifier ).
intgetNodeType()
Returns an integer value identifying the type of this concrete AST node.
ASTNodegetParent()
Returns this node's parent node, or null if this is the root node.
ObjectgetProperty(String propertyName)
Returns the value of the named property of this node, or null if none.
ASTNodegetRoot()
Returns the root node at or above this node; returns this node if it is a root.
intgetStartPosition()
Returns the character index into the original source file indicating where the source fragment corresponding to this node begins.
ObjectgetStructuralProperty(StructuralPropertyDescriptor property)
Returns the value of the given structural property for this node.
voidsetJavadoc(Javadoc docComment)
Sets or clears the doc comment node.
voidsetProperty(String propertyName, Object data)
Sets the named property of this node to the given value, or to null to clear it.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
booleansubtreeMatch(ASTMatcher matcher, Object other)
Returns whether the subtree rooted at the given node matches the given other object as decided by the given matcher.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.