org.jetbrains.jet.lang.descriptors.annotations
Class AnnotationDescriptorImpl

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.annotations.AnnotationDescriptorImpl
All Implemented Interfaces:
AnnotationDescriptor

public class AnnotationDescriptorImpl
extends java.lang.Object
implements AnnotationDescriptor


Constructor Summary
AnnotationDescriptorImpl()
           
 
Method Summary
 java.util.Map<ValueParameterDescriptor,CompileTimeConstant<?>> getAllValueArguments()
           
 JetType getType()
           
 CompileTimeConstant<?> getValueArgument(ValueParameterDescriptor valueParameterDescriptor)
           
 void setAnnotationType(JetType annotationType)
           
 void setValueArgument(ValueParameterDescriptor name, CompileTimeConstant<?> value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationDescriptorImpl

public AnnotationDescriptorImpl()
Method Detail

getType

@NotNull
public JetType getType()
Specified by:
getType in interface AnnotationDescriptor

getValueArgument

@Nullable
public CompileTimeConstant<?> getValueArgument(@NotNull
                                                        ValueParameterDescriptor valueParameterDescriptor)
Specified by:
getValueArgument in interface AnnotationDescriptor

getAllValueArguments

@NotNull
public java.util.Map<ValueParameterDescriptor,CompileTimeConstant<?>> getAllValueArguments()
Specified by:
getAllValueArguments in interface AnnotationDescriptor

setAnnotationType

public void setAnnotationType(@NotNull
                              JetType annotationType)

setValueArgument

public void setValueArgument(@NotNull
                             ValueParameterDescriptor name,
                             @NotNull
                             CompileTimeConstant<?> value)

toString

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