org.jetbrains.jet.lang.resolve
Class AnnotationResolver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.AnnotationResolver

public class AnnotationResolver
extends java.lang.Object


Constructor Summary
AnnotationResolver()
           
 
Method Summary
 Annotations getResolvedAnnotations(java.util.List<JetAnnotationEntry> annotations, BindingTrace trace)
           
static void reportUnsupportedAnnotationForTypeParameter(JetModifierListOwner modifierListOwner, BindingTrace trace)
           
static void resolveAnnotationArgument(AnnotationDescriptorImpl annotationDescriptor, ResolvedCall<? extends CallableDescriptor> call, BindingTrace trace)
           
 void resolveAnnotationsArguments(Annotated descriptor, BindingTrace trace, JetScope scope)
           
 void resolveAnnotationsArguments(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 void resolveAnnotationStub(JetScope scope, JetAnnotationEntry entryElement, AnnotationDescriptorImpl annotationDescriptor, BindingTrace trace)
           
 Annotations resolveAnnotationsWithArguments(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 Annotations resolveAnnotationsWithArguments(JetScope scope, java.util.List<JetAnnotationEntry> annotationEntries, BindingTrace trace)
           
 Annotations resolveAnnotationsWithoutArguments(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 void setCallResolver(CallResolver callResolver)
           
 void setExpressionTypingServices(ExpressionTypingServices expressionTypingServices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationResolver

public AnnotationResolver()
Method Detail

setExpressionTypingServices

@Inject
public void setExpressionTypingServices(ExpressionTypingServices expressionTypingServices)

setCallResolver

@Inject
public void setCallResolver(CallResolver callResolver)

resolveAnnotationsWithoutArguments

@NotNull
public Annotations resolveAnnotationsWithoutArguments(@NotNull
                                                              JetScope scope,
                                                              @Nullable
                                                              JetModifierList modifierList,
                                                              @NotNull
                                                              BindingTrace trace)

resolveAnnotationsWithArguments

@NotNull
public Annotations resolveAnnotationsWithArguments(@NotNull
                                                           JetScope scope,
                                                           @Nullable
                                                           JetModifierList modifierList,
                                                           @NotNull
                                                           BindingTrace trace)

resolveAnnotationsWithArguments

@NotNull
public Annotations resolveAnnotationsWithArguments(@NotNull
                                                           JetScope scope,
                                                           @NotNull
                                                           java.util.List<JetAnnotationEntry> annotationEntries,
                                                           @NotNull
                                                           BindingTrace trace)

resolveAnnotationStub

public void resolveAnnotationStub(@NotNull
                                  JetScope scope,
                                  @NotNull
                                  JetAnnotationEntry entryElement,
                                  @NotNull
                                  AnnotationDescriptorImpl annotationDescriptor,
                                  @NotNull
                                  BindingTrace trace)

resolveAnnotationsArguments

public void resolveAnnotationsArguments(@NotNull
                                        JetScope scope,
                                        @Nullable
                                        JetModifierList modifierList,
                                        @NotNull
                                        BindingTrace trace)

resolveAnnotationsArguments

public void resolveAnnotationsArguments(@NotNull
                                        Annotated descriptor,
                                        @NotNull
                                        BindingTrace trace,
                                        @NotNull
                                        JetScope scope)

resolveAnnotationArgument

public static void resolveAnnotationArgument(@NotNull
                                             AnnotationDescriptorImpl annotationDescriptor,
                                             @NotNull
                                             ResolvedCall<? extends CallableDescriptor> call,
                                             @NotNull
                                             BindingTrace trace)

getResolvedAnnotations

@NotNull
public Annotations getResolvedAnnotations(@NotNull
                                                  java.util.List<JetAnnotationEntry> annotations,
                                                  @NotNull
                                                  BindingTrace trace)

reportUnsupportedAnnotationForTypeParameter

public static void reportUnsupportedAnnotationForTypeParameter(@NotNull
                                                               JetModifierListOwner modifierListOwner,
                                                               BindingTrace trace)