org.jetbrains.kotlin.resolve.constants
Class BooleanValue

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.constants.CompileTimeConstant<java.lang.Boolean>
      extended by org.jetbrains.kotlin.resolve.constants.BooleanValue

public class BooleanValue
extends CompileTimeConstant<java.lang.Boolean>


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

Constructor Detail

BooleanValue

public BooleanValue(boolean value,
                    boolean canBeUseInAnnotation,
                    boolean usesVariableAsConstant)
Method Detail

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