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

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.constants.LongValue
All Implemented Interfaces:
CompileTimeConstant<java.lang.Long>

public class LongValue
extends java.lang.Object
implements CompileTimeConstant<java.lang.Long>


Field Summary
static com.google.common.base.Function<java.lang.Long,LongValue> CREATE
           
 
Constructor Summary
LongValue(long value)
           
 
Method Summary
<R,D> R
accept(AnnotationArgumentVisitor<R,D> visitor, D data)
           
 JetType getType(KotlinBuiltIns kotlinBuiltIns)
           
 java.lang.Long getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE

public static final com.google.common.base.Function<java.lang.Long,LongValue> CREATE
Constructor Detail

LongValue

public LongValue(long value)
Method Detail

getValue

public java.lang.Long getValue()
Specified by:
getValue in interface CompileTimeConstant<java.lang.Long>

getType

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

accept

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

toString

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