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

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

Introduction

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

The text is from its open source code.

Field

SimplePropertyDescriptorTOKEN_PROPERTY
The "token" structural property of this node type (type: String ).

Constructor

NumberLiteral(AST ast)
Creates a new unparented number literal node owned by the given AST.

Method

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.
StringgetToken()
Returns the token of this number literal node.
voidinternalSetToken(String token)
booleanresolveBoxing()
Returns whether this expression node is the site of a boxing conversion (JLS3 5.1.7).
ObjectresolveConstantExpressionValue()
Resolves and returns the compile-time constant expression value as specified in JLS2 15.28, if this expression has one.
ITypeBindingresolveTypeBinding()
Resolves and returns the binding for the type of this expression.
voidsetSourceRange(int startPosition, int length)
Sets the source range of the original source file where the source fragment corresponding to this node was found.
voidsetToken(String token)
Sets the token of this number literal node.
StringtoString()
Returns a string representation of this node suitable for debugging purposes only.