org.jetbrains.jet.lang.resolve.constants
Class IntValue
java.lang.Object
org.jetbrains.jet.lang.resolve.constants.IntValue
- All Implemented Interfaces:
- CompileTimeConstant<java.lang.Integer>
public class IntValue
- extends java.lang.Object
- implements CompileTimeConstant<java.lang.Integer>
Field Summary |
static com.google.common.base.Function<java.lang.Long,IntValue> |
CREATE
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CREATE
public static final com.google.common.base.Function<java.lang.Long,IntValue> CREATE
IntValue
public IntValue(int value)
getValue
public java.lang.Integer getValue()
- Specified by:
getValue
in interface CompileTimeConstant<java.lang.Integer>
getType
@NotNull
public JetType getType(@NotNull
KotlinBuiltIns kotlinBuiltIns)
- Specified by:
getType
in interface CompileTimeConstant<java.lang.Integer>
accept
public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor,
D data)
- Specified by:
accept
in interface 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