org.jetbrains.kotlin.resolve.constants
Class IntValue
java.lang.Object
org.jetbrains.kotlin.resolve.constants.CompileTimeConstant<T>
org.jetbrains.kotlin.resolve.constants.IntegerValueConstant<java.lang.Integer>
org.jetbrains.kotlin.resolve.constants.IntValue
public class IntValue
- extends IntegerValueConstant<java.lang.Integer>
Constructor Summary |
IntValue(int value,
boolean canBeUsedInAnnotations,
boolean pure,
boolean usesVariableAsConstant)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IntValue
public IntValue(int value,
boolean canBeUsedInAnnotations,
boolean pure,
boolean usesVariableAsConstant)
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