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
 java.util.List<AnnotationDescriptor> getResolvedAnnotations(JetModifierList modifierList, BindingTrace trace)
           
 java.util.List<AnnotationDescriptor> getResolvedAnnotations(java.util.List<JetAnnotationEntry> annotations, BindingTrace trace)
           
 java.util.List<AnnotationDescriptor> resolveAnnotations(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 void resolveAnnotationsArguments(Annotated descriptor, BindingTrace trace, JetScope scope)
           
 void resolveAnnotationsArguments(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 void resolveAnnotationStub(JetScope scope, JetAnnotationEntry entryElement, AnnotationDescriptor annotationDescriptor, BindingTrace trace)
           
 java.util.List<AnnotationDescriptor> resolveAnnotationsWithArguments(JetScope scope, JetModifierList modifierList, BindingTrace trace)
           
 CompileTimeConstant<?> resolveExpressionToCompileTimeValue(JetExpression expression, JetType expectedType, 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)

resolveAnnotations

@NotNull
public java.util.List<AnnotationDescriptor> resolveAnnotations(@NotNull
                                                                       JetScope scope,
                                                                       @Nullable
                                                                       JetModifierList modifierList,
                                                                       @NotNull
                                                                       BindingTrace trace)

resolveAnnotationsWithArguments

@NotNull
public java.util.List<AnnotationDescriptor> resolveAnnotationsWithArguments(@NotNull
                                                                                    JetScope scope,
                                                                                    @Nullable
                                                                                    JetModifierList modifierList,
                                                                                    @NotNull
                                                                                    BindingTrace trace)

resolveAnnotationStub

public void resolveAnnotationStub(@NotNull
                                  JetScope scope,
                                  @NotNull
                                  JetAnnotationEntry entryElement,
                                  @NotNull
                                  AnnotationDescriptor 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)

resolveExpressionToCompileTimeValue

@Nullable
public CompileTimeConstant<?> resolveExpressionToCompileTimeValue(@NotNull
                                                                           JetExpression expression,
                                                                           @NotNull
                                                                           JetType expectedType,
                                                                           @NotNull
                                                                           BindingTrace trace)

getResolvedAnnotations

@NotNull
public java.util.List<AnnotationDescriptor> getResolvedAnnotations(@Nullable
                                                                           JetModifierList modifierList,
                                                                           BindingTrace trace)

getResolvedAnnotations

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