org.jetbrains.jet.lang.resolve.constants
Class DoubleValue

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.constants.CompileTimeConstant<java.lang.Double>
      extended by org.jetbrains.jet.lang.resolve.constants.DoubleValue

public class DoubleValue
extends CompileTimeConstant<java.lang.Double>


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.resolve.constants.CompileTimeConstant
value
 
Constructor Summary
DoubleValue(double value, boolean canBeUsedInAnnotations, boolean usesVariableAsConstant)
           
 
Method Summary
<R,D> R
accept(AnnotationArgumentVisitor<R,D> visitor, D data)
           
 JetType getType(KotlinBuiltIns kotlinBuiltIns)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.constants.CompileTimeConstant
canBeUsedInAnnotations, getValue, isPure, usesVariableAsConstant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleValue

public DoubleValue(double value,
                   boolean canBeUsedInAnnotations,
                   boolean usesVariableAsConstant)
Method Detail

getType

@NotNull
public JetType getType(@NotNull
                               KotlinBuiltIns kotlinBuiltIns)
Specified by:
getType in class CompileTimeConstant<java.lang.Double>

accept

public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor,
                      D data)
Specified by:
accept in class CompileTimeConstant<java.lang.Double>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object