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, ScriptBodyResolver scriptBodyResolverResolver, BindingTrace trace, ValueParameterResolver valueParameterResolver, AnnotationChecker annotationChecker)
           
 
Method Summary
 void resolveAnonymousInitializer(DataFlowInfo outerDataFlowInfo, KtClassInitializer anonymousInitializer, ClassDescriptorWithResolutionScopes classDescriptor)
           
 void resolveBodies(BodiesResolveContext c)
           
 void resolveConstructorParameterDefaultValuesAndAnnotations(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtClass klass, ConstructorDescriptor constructorDescriptor, LexicalScope declaringScope)
           
 void resolveDelegationSpecifierList(DataFlowInfo outerDataFlowInfo, KtClassOrObject jetClass, ClassDescriptor descriptor, ConstructorDescriptor primaryConstructor, LexicalScope scopeForSupertypeResolution, LexicalScope scopeForMemberResolution)
           
 void resolveFunctionBody(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtDeclarationWithBody function, FunctionDescriptor functionDescriptor, LexicalScope declaringScope)
           
 void resolveFunctionBody(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtDeclarationWithBody function, FunctionDescriptor functionDescriptor, LexicalScope scope, kotlin.jvm.functions.Function1<LexicalScope,DataFlowInfo> beforeBlockBody, CallChecker callChecker)
           
 void resolvePropertyAccessors(BodiesResolveContext c, KtProperty property, PropertyDescriptor propertyDescriptor)
           
 void resolvePropertyDelegate(DataFlowInfo outerDataFlowInfo, KtProperty jetProperty, PropertyDescriptor propertyDescriptor, KtExpression delegateExpression, LexicalScope parentScopeForAccessor, LexicalScope propertyScope)
           
 void resolvePropertyInitializer(DataFlowInfo outerDataFlowInfo, KtProperty property, PropertyDescriptor propertyDescriptor, KtExpression initializer, LexicalScope scope)
           
 void resolveSecondaryConstructorBody(DataFlowInfo outerDataFlowInfo, BindingTrace trace, KtSecondaryConstructor constructor, ConstructorDescriptor descriptor, LexicalScope declaringScope)
           
 
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
                    ScriptBodyResolver scriptBodyResolverResolver,
                    @NotNull
                    BindingTrace trace,
                    @NotNull
                    ValueParameterResolver valueParameterResolver,
                    @NotNull
                    AnnotationChecker annotationChecker)
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)

resolveDelegationSpecifierList

public void resolveDelegationSpecifierList(@NotNull
                                           DataFlowInfo outerDataFlowInfo,
                                           @NotNull
                                           KtClassOrObject jetClass,
                                           @NotNull
                                           ClassDescriptor descriptor,
                                           @Nullable
                                           ConstructorDescriptor primaryConstructor,
                                           @NotNull
                                           LexicalScope scopeForSupertypeResolution,
                                           @NotNull
                                           LexicalScope scopeForMemberResolution)

resolveAnonymousInitializer

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

resolvePropertyAccessors

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

resolvePropertyDelegate

public void resolvePropertyDelegate(@NotNull
                                    DataFlowInfo outerDataFlowInfo,
                                    @NotNull
                                    KtProperty jetProperty,
                                    @NotNull
                                    PropertyDescriptor propertyDescriptor,
                                    @NotNull
                                    KtExpression delegateExpression,
                                    @NotNull
                                    LexicalScope parentScopeForAccessor,
                                    @NotNull
                                    LexicalScope propertyScope)

resolvePropertyInitializer

public void resolvePropertyInitializer(@NotNull
                                       DataFlowInfo outerDataFlowInfo,
                                       @NotNull
                                       KtProperty property,
                                       @NotNull
                                       PropertyDescriptor propertyDescriptor,
                                       @NotNull
                                       KtExpression initializer,
                                       @NotNull
                                       LexicalScope scope)

resolveFunctionBody

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

resolveFunctionBody

public void resolveFunctionBody(@NotNull
                                DataFlowInfo outerDataFlowInfo,
                                @NotNull
                                BindingTrace trace,
                                @NotNull
                                KtDeclarationWithBody function,
                                @NotNull
                                FunctionDescriptor functionDescriptor,
                                @NotNull
                                LexicalScope scope,
                                @Nullable
                                kotlin.jvm.functions.Function1<LexicalScope,DataFlowInfo> beforeBlockBody,
                                @NotNull
                                CallChecker callChecker)

resolveConstructorParameterDefaultValuesAndAnnotations

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