org.jetbrains.jet.lang.resolve.constants
Class BooleanValue

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.constants.BooleanValue
All Implemented Interfaces:
CompileTimeConstant<java.lang.Boolean>

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


Field Summary
static BooleanValue FALSE
           
static BooleanValue TRUE
           
 
Method Summary
<R,D> R
accept(AnnotationArgumentVisitor<R,D> visitor, D data)
           
 JetType getType(KotlinBuiltIns kotlinBuiltIns)
           
 java.lang.Boolean getValue()
           
 java.lang.String toString()
           
static BooleanValue valueOf(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FALSE

public static final BooleanValue FALSE

TRUE

public static final BooleanValue TRUE
Method Detail

valueOf

@NotNull
public static BooleanValue valueOf(boolean value)

getValue

public java.lang.Boolean getValue()
Specified by:
getValue in interface CompileTimeConstant<java.lang.Boolean>

getType

@NotNull
public JetType getType(@NotNull
                               KotlinBuiltIns kotlinBuiltIns)
Specified by:
getType in interface CompileTimeConstant<java.lang.Boolean>

accept

public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface CompileTimeConstant<java.lang.Boolean>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object