org.jetbrains.kotlin.resolve
Class BodyResolver

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.BodyResolver

public class BodyResolver
extends java.lang.Object


Constructor Summary
BodyResolver(com.intellij.openapi.project.Project project, AnnotationResolver annotationResolver, BodyResolveCache bodyResolveCache, CallResolver callResolver, ControlFlowAnalyzer controlFlowAnalyzer, DeclarationsChecker declarationsChecker, DelegatedPropertyResolver delegatedPropertyResolver, ExpressionTypingServices expressionTypingServices, AnalyzerExtensions analyzerExtensions, BindingTrace trace, ValueParameterResolver valueParameterResolver, AnnotationChecker annotationChecker, KotlinBuiltIns builtIns, OverloadChecker overloadChecker, LanguageVersionSettings languageVersionSettings)
           
 
Method Summary
 void resolveAnonymousInitializer(DataFlowInfo outerDataFlowInfo, KtAnonymousInitializer anonymousInitializer, ClassDescriptorWithResolutionScopes classDescriptor)
           
 void resolveBodies(BodiesResolveContext c)
           
 void resolveConstructorParameterDefaultValues(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtPrimaryConstructor constructor, ConstructorDescriptor constructorDescriptor, LexicalScope declaringScope)
           
 void resolveFunctionBody(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtDeclarationWithBody function, FunctionDescriptor functionDescriptor, LexicalScope declaringScope)
           
 void resolveProperty(BodiesResolveContext c, KtProperty property, PropertyDescriptor propertyDescriptor)
           
 void resolveSecondaryConstructorBody(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtSecondaryConstructor constructor, ClassConstructorDescriptor descriptor, LexicalScope declaringScope)
           
 void resolveSuperTypeEntryList(DataFlowInfo outerDataFlowInfo, KtClassOrObject ktClass, ClassDescriptor descriptor, ConstructorDescriptor primaryConstructor, LexicalScope scopeForConstructorResolution, LexicalScope scopeForMemberResolution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyResolver

public BodyResolver(@NotNull
                    com.intellij.openapi.project.Project project,
                    @NotNull
                    AnnotationResolver annotationResolver,
                    @NotNull
                    BodyResolveCache bodyResolveCache,
                    @NotNull
                    CallResolver callResolver,
                    @NotNull
                    ControlFlowAnalyzer controlFlowAnalyzer,
                    @NotNull
                    DeclarationsChecker declarationsChecker,
                    @NotNull
                    DelegatedPropertyResolver delegatedPropertyResolver,
                    @NotNull
                    ExpressionTypingServices expressionTypingServices,
                    @NotNull
                    AnalyzerExtensions analyzerExtensions,
                    @NotNull
                    BindingTrace trace,
                    @NotNull
                    ValueParameterResolver valueParameterResolver,
                    @NotNull
                    AnnotationChecker annotationChecker,
                    @NotNull
                    KotlinBuiltIns builtIns,
                    @NotNull
                    OverloadChecker overloadChecker,
                    @NotNull
                    LanguageVersionSettings languageVersionSettings)
Method Detail

resolveSecondaryConstructorBody

public void resolveSecondaryConstructorBody(@NotNull
                                            DataFlowInfo outerDataFlowInfo,
                                            @NotNull
                                            BindingTrace trace,
                                            @NotNull
                                            KtSecondaryConstructor constructor,
                                            @NotNull
                                            ClassConstructorDescriptor descriptor,
                                            @NotNull
                                            LexicalScope declaringScope)

resolveBodies

public void resolveBodies(@NotNull
                          BodiesResolveContext c)

resolveSuperTypeEntryList

public void resolveSuperTypeEntryList(@NotNull
                                      DataFlowInfo outerDataFlowInfo,
                                      @NotNull
                                      KtClassOrObject ktClass,
                                      @NotNull
                                      ClassDescriptor descriptor,
                                      @Nullable
                                      ConstructorDescriptor primaryConstructor,
                                      @NotNull
                                      LexicalScope scopeForConstructorResolution,
                                      @NotNull
                                      LexicalScope scopeForMemberResolution)

resolveAnonymousInitializer

public void resolveAnonymousInitializer(@NotNull
                                        DataFlowInfo outerDataFlowInfo,
                                        @NotNull
                                        KtAnonymousInitializer anonymousInitializer,
                                        @NotNull
                                        ClassDescriptorWithResolutionScopes classDescriptor)

resolveProperty

public void resolveProperty(@NotNull
                            BodiesResolveContext c,
                            @NotNull
                            KtProperty property,
                            @NotNull
                            PropertyDescriptor propertyDescriptor)

resolveFunctionBody

public void resolveFunctionBody(@NotNull
                                DataFlowInfo outerDataFlowInfo,
                                @NotNull
                                BindingTrace trace,
                                @NotNull
                                KtDeclarationWithBody function,
                                @NotNull
                                FunctionDescriptor functionDescriptor,
                                @NotNull
                                LexicalScope declaringScope)

resolveConstructorParameterDefaultValues

public void resolveConstructorParameterDefaultValues(@NotNull
                                                     DataFlowInfo outerDataFlowInfo,
                                                     @NotNull
                                                     BindingTrace trace,
                                                     @NotNull
                                                     KtPrimaryConstructor constructor,
                                                     @NotNull
                                                     ConstructorDescriptor constructorDescriptor,
                                                     @NotNull
                                                     LexicalScope declaringScope)