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(AnnotationResolver annotationResolver, BodyResolveCache bodyResolveCache, CallResolver callResolver, ControlFlowAnalyzer controlFlowAnalyzer, DeclarationsChecker declarationsChecker, DelegatedPropertyResolver delegatedPropertyResolver, ExpressionTypingServices expressionTypingServices, FunctionAnalyzerExtension functionAnalyzerExtension, BindingTrace trace, ValueParameterResolver valueParameterResolver, AnnotationChecker annotationChecker, KotlinBuiltIns builtIns)
           
 
Method Summary
 void resolveAnonymousInitializer(DataFlowInfo outerDataFlowInfo, KtAnonymousInitializer anonymousInitializer, ClassDescriptorWithResolutionScopes classDescriptor)
           
 void resolveBodies(BodiesResolveContext c)
           
 void resolveConstructorParameterDefaultValuesAndAnnotations(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtClass klass, 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, ConstructorDescriptor descriptor, LexicalScope declaringScope)
           
 void resolveSuperTypeEntryList(DataFlowInfo outerDataFlowInfo, KtClassOrObject jetClass, 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
                    AnnotationResolver annotationResolver,
                    @NotNull
                    BodyResolveCache bodyResolveCache,
                    @NotNull
                    CallResolver callResolver,
                    @NotNull
                    ControlFlowAnalyzer controlFlowAnalyzer,
                    @NotNull
                    DeclarationsChecker declarationsChecker,
                    @NotNull
                    DelegatedPropertyResolver delegatedPropertyResolver,
                    @NotNull
                    ExpressionTypingServices expressionTypingServices,
                    @NotNull
                    FunctionAnalyzerExtension functionAnalyzerExtension,
                    @NotNull
                    BindingTrace trace,
                    @NotNull
                    ValueParameterResolver valueParameterResolver,
                    @NotNull
                    AnnotationChecker annotationChecker,
                    @NotNull
                    KotlinBuiltIns builtIns)
Method Detail

resolveSecondaryConstructorBody

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

resolveBodies

public void resolveBodies(@NotNull
                          BodiesResolveContext c)

resolveSuperTypeEntryList

public void resolveSuperTypeEntryList(@NotNull
                                      DataFlowInfo outerDataFlowInfo,
                                      @NotNull
                                      KtClassOrObject jetClass,
                                      @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)

resolveConstructorParameterDefaultValuesAndAnnotations

public void resolveConstructorParameterDefaultValuesAndAnnotations(@NotNull
                                                                   DataFlowInfo outerDataFlowInfo,
                                                                   @NotNull
                                                                   BindingTrace trace,
                                                                   @NotNull
                                                                   KtClass klass,
                                                                   @NotNull
                                                                   ConstructorDescriptor constructorDescriptor,
                                                                   @NotNull
                                                                   LexicalScope declaringScope)