public class IntValue extends java.lang.Object implements CompileTimeConstant<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<java.lang.Long,IntValue> |
CREATE |
Constructor and Description |
---|
IntValue(int value) |
Modifier and Type | Method and Description |
---|---|
<R,D> R |
accept(AnnotationArgumentVisitor<R,D> visitor,
D data) |
boolean |
equals(java.lang.Object o) |
JetType |
getType(KotlinBuiltIns kotlinBuiltIns) |
java.lang.Integer |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public IntValue(int value)
public java.lang.Integer getValue()
getValue
in interface CompileTimeConstant<java.lang.Integer>
@NotNull public JetType getType(@NotNull KotlinBuiltIns kotlinBuiltIns)
getType
in interface CompileTimeConstant<java.lang.Integer>
public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor, D data)
accept
in interface CompileTimeConstant<java.lang.Integer>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object