org.jetbrains.jet.lang.resolve.constants
Class EnumValue
java.lang.Object
org.jetbrains.jet.lang.resolve.constants.EnumValue
- All Implemented Interfaces:
- CompileTimeConstant<PropertyDescriptor>
public class EnumValue
- extends java.lang.Object
- implements CompileTimeConstant<PropertyDescriptor>
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EnumValue
public EnumValue(@NotNull
PropertyDescriptor value)
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