Top Fields Constructors Methods
org.jruby.ast.java_signature

public Class NumberLiteral

extends Object
implements Literal
Class Inheritance
All Implemented Interfaces
org.jruby.ast.java_signature.Literal, org.jruby.ast.java_signature.AnnotationExpression

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(AnnotationVisitor<T>
the visitor
visitor
)

Implements org.jruby.ast.java_signature.AnnotationExpression.accept.

Accept for the visitor pattern.

public Object
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

valueRawback to summary
private String valueRaw

Constructor Detail

NumberLiteralback to summary
public NumberLiteral(String value)

Method Detail

acceptback to summary
public <T> T accept(AnnotationVisitor<T> visitor)

Implements org.jruby.ast.java_signature.AnnotationExpression.accept.

Accept for the visitor pattern.

Parameters
visitor:AnnotationVisitor<T>

the visitor

Annotations
@Override
getLiteralback to summary
public Object getLiteral()

Implements org.jruby.ast.java_signature.Literal.getLiteral.

Annotations
@Override
isFloatback to summary
public boolean isFloat()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override