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

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.constants.CompileTimeConstant<java.lang.String>
      extended by org.jetbrains.jet.lang.resolve.constants.StringValue

public class StringValue
extends CompileTimeConstant<java.lang.String>


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

Constructor Detail

StringValue

public StringValue(java.lang.String value,
                   boolean canBeUsedInAnnotations)
Method Detail

getType

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

accept

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

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