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

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

public class EnumValue
extends java.lang.Object
implements CompileTimeConstant<PropertyDescriptor>


Constructor Summary
EnumValue(PropertyDescriptor value)
           
 
Method Summary
<R,D> R
accept(AnnotationArgumentVisitor<R,D> visitor, D data)
           
 boolean equals(java.lang.Object o)
           
 JetType getType(KotlinBuiltIns kotlinBuiltIns)
           
 PropertyDescriptor getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumValue

public EnumValue(@NotNull
                 PropertyDescriptor value)
Method Detail

getValue

@NotNull
public PropertyDescriptor getValue()
Specified by:
getValue in interface CompileTimeConstant<PropertyDescriptor>

getType

@NotNull
public JetType getType(@NotNull
                               KotlinBuiltIns kotlinBuiltIns)
Specified by:
getType in interface CompileTimeConstant<PropertyDescriptor>

accept

public <R,D> R accept(AnnotationArgumentVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface CompileTimeConstant<PropertyDescriptor>

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