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

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

public class AnnotationValue
extends java.lang.Object
implements CompileTimeConstant<AnnotationDescriptor>


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

Constructor Detail

AnnotationValue

public AnnotationValue(@NotNull
                       AnnotationDescriptor value)
Method Detail

getValue

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

getType

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

accept

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

toString

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