org.jetbrains.kotlin.resolve
Class BodyResolver
java.lang.Object
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,
JetClassInitializer anonymousInitializer,
ClassDescriptorWithResolutionScopes classDescriptor)
|
void |
resolveBodies(BodiesResolveContext c)
|
void |
resolveConstructorParameterDefaultValuesAndAnnotations(DataFlowInfo outerDataFlowInfo,
BindingTrace trace,
JetClass klass,
ConstructorDescriptor constructorDescriptor,
LexicalScope declaringScope)
|
void |
resolveDelegationSpecifierList(DataFlowInfo outerDataFlowInfo,
JetClassOrObject jetClass,
ClassDescriptor descriptor,
ConstructorDescriptor primaryConstructor,
LexicalScope scopeForSupertypeResolution,
LexicalScope scopeForMemberResolution)
|
void |
resolveFunctionBody(DataFlowInfo outerDataFlowInfo,
BindingTrace trace,
JetDeclarationWithBody function,
FunctionDescriptor functionDescriptor,
LexicalScope declaringScope)
|
void |
resolveFunctionBody(DataFlowInfo outerDataFlowInfo,
BindingTrace trace,
JetDeclarationWithBody function,
FunctionDescriptor functionDescriptor,
LexicalScope scope,
kotlin.jvm.functions.Function1<LexicalScope,DataFlowInfo> beforeBlockBody,
CallChecker callChecker)
|
void |
resolvePropertyAccessors(BodiesResolveContext c,
JetProperty property,
PropertyDescriptor propertyDescriptor)
|
void |
resolvePropertyDelegate(DataFlowInfo outerDataFlowInfo,
JetProperty jetProperty,
PropertyDescriptor propertyDescriptor,
JetExpression delegateExpression,
LexicalScope parentScopeForAccessor,
LexicalScope propertyScope)
|
void |
resolvePropertyInitializer(DataFlowInfo outerDataFlowInfo,
JetProperty property,
PropertyDescriptor propertyDescriptor,
JetExpression initializer,
LexicalScope scope)
|
void |
resolveSecondaryConstructorBody(DataFlowInfo outerDataFlowInfo,
BindingTrace trace,
JetSecondaryConstructor constructor,
ConstructorDescriptor descriptor,
LexicalScope declaringScope)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
resolveSecondaryConstructorBody
public void resolveSecondaryConstructorBody(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
BindingTrace trace,
@NotNull
JetSecondaryConstructor constructor,
@NotNull
ConstructorDescriptor descriptor,
@NotNull
LexicalScope declaringScope)
resolveBodies
public void resolveBodies(@NotNull
BodiesResolveContext c)
resolveDelegationSpecifierList
public void resolveDelegationSpecifierList(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
JetClassOrObject jetClass,
@NotNull
ClassDescriptor descriptor,
@Nullable
ConstructorDescriptor primaryConstructor,
@NotNull
LexicalScope scopeForSupertypeResolution,
@NotNull
LexicalScope scopeForMemberResolution)
resolveAnonymousInitializer
public void resolveAnonymousInitializer(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
JetClassInitializer anonymousInitializer,
@NotNull
ClassDescriptorWithResolutionScopes classDescriptor)
resolvePropertyAccessors
public void resolvePropertyAccessors(@NotNull
BodiesResolveContext c,
@NotNull
JetProperty property,
@NotNull
PropertyDescriptor propertyDescriptor)
resolvePropertyDelegate
public void resolvePropertyDelegate(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
JetProperty jetProperty,
@NotNull
PropertyDescriptor propertyDescriptor,
@NotNull
JetExpression delegateExpression,
@NotNull
LexicalScope parentScopeForAccessor,
@NotNull
LexicalScope propertyScope)
resolvePropertyInitializer
public void resolvePropertyInitializer(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
JetProperty property,
@NotNull
PropertyDescriptor propertyDescriptor,
@NotNull
JetExpression initializer,
@NotNull
LexicalScope scope)
resolveFunctionBody
public void resolveFunctionBody(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
BindingTrace trace,
@NotNull
JetDeclarationWithBody function,
@NotNull
FunctionDescriptor functionDescriptor,
@NotNull
LexicalScope declaringScope)
resolveFunctionBody
public void resolveFunctionBody(@NotNull
DataFlowInfo outerDataFlowInfo,
@NotNull
BindingTrace trace,
@NotNull
JetDeclarationWithBody 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
JetClass klass,
@NotNull
ConstructorDescriptor constructorDescriptor,
@NotNull
LexicalScope declaringScope)