org.jetbrains.kotlin.resolve.constants
Class BooleanValue
java.lang.Object
org.jetbrains.kotlin.resolve.constants.CompileTimeConstant<java.lang.Boolean>
org.jetbrains.kotlin.resolve.constants.BooleanValue
public class BooleanValue
- extends CompileTimeConstant<java.lang.Boolean>
Constructor Summary |
BooleanValue(boolean value,
boolean canBeUseInAnnotation,
boolean usesVariableAsConstant)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanValue
public BooleanValue(boolean value,
boolean canBeUseInAnnotation,
boolean usesVariableAsConstant)
getType
@NotNull
public JetType getType(@NotNull
KotlinBuiltIns kotlinBuiltIns)
- Specified by:
getType
in class CompileTimeConstant<java.lang.Boolean>
accept
public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor,
D data)
- Specified by:
accept
in class CompileTimeConstant<java.lang.Boolean>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object