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

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.constants.CompileTimeConstant<T>
      extended by org.jetbrains.jet.lang.resolve.constants.IntegerValueConstant<java.lang.Integer>
          extended by org.jetbrains.jet.lang.resolve.constants.IntValue

public class IntValue
extends IntegerValueConstant<java.lang.Integer>


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

Constructor Detail

IntValue

public IntValue(int value,
                boolean canBeUsedInAnnotations,
                boolean pure)
Method Detail

getType

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

accept

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

toString

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object