org.jetbrains.kotlin.resolve
Class DelegatedPropertyResolver

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

public class DelegatedPropertyResolver
extends java.lang.Object


Field Summary
static Name PROPERTY_DELEGATED_FUNCTION_NAME
           
 
Constructor Summary
DelegatedPropertyResolver(KotlinBuiltIns builtIns, FakeCallResolver fakeCallResolver, ExpressionTypingServices expressionTypingServices)
           
 
Method Summary
 KotlinType getDelegatedPropertyGetMethodReturnType(PropertyDescriptor propertyDescriptor, KtExpression delegateExpression, KotlinType delegateType, BindingTrace trace, LexicalScope delegateFunctionsScope, DataFlowInfo dataFlowInfo)
           
 void resolveDelegatedPropertyGetMethod(PropertyDescriptor propertyDescriptor, KtExpression delegateExpression, KotlinType delegateType, BindingTrace trace, LexicalScope delegateFunctionsScope, DataFlowInfo dataFlowInfo)
           
 void resolveDelegatedPropertyPDMethod(PropertyDescriptor propertyDescriptor, KtExpression delegateExpression, KotlinType delegateType, BindingTrace trace, LexicalScope delegateFunctionsScope, DataFlowInfo dataFlowInfo)
           
 void resolveDelegatedPropertySetMethod(PropertyDescriptor propertyDescriptor, KtExpression delegateExpression, KotlinType delegateType, BindingTrace trace, LexicalScope delegateFunctionsScope, DataFlowInfo dataFlowInfo)
           
 KotlinType resolveDelegateExpression(KtExpression delegateExpression, KtProperty property, PropertyDescriptor propertyDescriptor, LexicalScope scopeForDelegate, BindingTrace trace, DataFlowInfo dataFlowInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_DELEGATED_FUNCTION_NAME

public static final Name PROPERTY_DELEGATED_FUNCTION_NAME
Constructor Detail

DelegatedPropertyResolver

public DelegatedPropertyResolver(@NotNull
                                 KotlinBuiltIns builtIns,
                                 @NotNull
                                 FakeCallResolver fakeCallResolver,
                                 @NotNull
                                 ExpressionTypingServices expressionTypingServices)
Method Detail

getDelegatedPropertyGetMethodReturnType

@Nullable
public KotlinType getDelegatedPropertyGetMethodReturnType(@NotNull
                                                                   PropertyDescriptor propertyDescriptor,
                                                                   @NotNull
                                                                   KtExpression delegateExpression,
                                                                   @NotNull
                                                                   KotlinType delegateType,
                                                                   @NotNull
                                                                   BindingTrace trace,
                                                                   @NotNull
                                                                   LexicalScope delegateFunctionsScope,
                                                                   @NotNull
                                                                   DataFlowInfo dataFlowInfo)

resolveDelegatedPropertyGetMethod

public void resolveDelegatedPropertyGetMethod(@NotNull
                                              PropertyDescriptor propertyDescriptor,
                                              @NotNull
                                              KtExpression delegateExpression,
                                              @NotNull
                                              KotlinType delegateType,
                                              @NotNull
                                              BindingTrace trace,
                                              @NotNull
                                              LexicalScope delegateFunctionsScope,
                                              @NotNull
                                              DataFlowInfo dataFlowInfo)

resolveDelegatedPropertySetMethod

public void resolveDelegatedPropertySetMethod(@NotNull
                                              PropertyDescriptor propertyDescriptor,
                                              @NotNull
                                              KtExpression delegateExpression,
                                              @NotNull
                                              KotlinType delegateType,
                                              @NotNull
                                              BindingTrace trace,
                                              @NotNull
                                              LexicalScope delegateFunctionsScope,
                                              @NotNull
                                              DataFlowInfo dataFlowInfo)

resolveDelegatedPropertyPDMethod

public void resolveDelegatedPropertyPDMethod(@NotNull
                                             PropertyDescriptor propertyDescriptor,
                                             @NotNull
                                             KtExpression delegateExpression,
                                             @NotNull
                                             KotlinType delegateType,
                                             @NotNull
                                             BindingTrace trace,
                                             @NotNull
                                             LexicalScope delegateFunctionsScope,
                                             @NotNull
                                             DataFlowInfo dataFlowInfo)

resolveDelegateExpression

@NotNull
public KotlinType resolveDelegateExpression(@NotNull
                                                    KtExpression delegateExpression,
                                                    @NotNull
                                                    KtProperty property,
                                                    @NotNull
                                                    PropertyDescriptor propertyDescriptor,
                                                    @NotNull
                                                    LexicalScope scopeForDelegate,
                                                    @NotNull
                                                    BindingTrace trace,
                                                    @NotNull
                                                    DataFlowInfo dataFlowInfo)