org.jetbrains.kotlin.resolve.scopes
Class JetScopeUtils
java.lang.Object
org.jetbrains.kotlin.resolve.scopes.JetScopeUtils
public final class JetScopeUtils
- extends java.lang.Object
Method Summary |
static java.util.List<ReceiverValue> |
getImplicitReceiversHierarchyValues(JetScope scope)
|
static JetScope |
getPropertyDeclarationInnerScope(PropertyDescriptor propertyDescriptor,
JetScope outerScope,
java.util.List<? extends TypeParameterDescriptor> typeParameters,
ReceiverParameterDescriptor receiver,
BindingTrace trace)
|
static JetScope |
getPropertyDeclarationInnerScope(PropertyDescriptor propertyDescriptor,
JetScope outerScope,
RedeclarationHandler redeclarationHandler)
|
static JetScope |
getPropertyDeclarationInnerScopeForInitializer(JetScope outerScope,
java.util.List<? extends TypeParameterDescriptor> typeParameters,
ReceiverParameterDescriptor receiver,
BindingTrace trace)
|
static JetScope |
makeScopeForPropertyAccessor(PropertyDescriptor propertyDescriptor,
JetScope parentScope,
BindingTrace trace)
|
static java.lang.String |
printStructure(JetScope scope)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getImplicitReceiversHierarchyValues
@NotNull
public static java.util.List<ReceiverValue> getImplicitReceiversHierarchyValues(@NotNull
JetScope scope)
makeScopeForPropertyAccessor
public static JetScope makeScopeForPropertyAccessor(@NotNull
PropertyDescriptor propertyDescriptor,
@NotNull
JetScope parentScope,
@NotNull
BindingTrace trace)
getPropertyDeclarationInnerScope
public static JetScope getPropertyDeclarationInnerScope(@NotNull
PropertyDescriptor propertyDescriptor,
@NotNull
JetScope outerScope,
@NotNull
RedeclarationHandler redeclarationHandler)
getPropertyDeclarationInnerScope
public static JetScope getPropertyDeclarationInnerScope(@NotNull
PropertyDescriptor propertyDescriptor,
@NotNull
JetScope outerScope,
@NotNull
java.util.List<? extends TypeParameterDescriptor> typeParameters,
@Nullable
ReceiverParameterDescriptor receiver,
BindingTrace trace)
getPropertyDeclarationInnerScopeForInitializer
public static JetScope getPropertyDeclarationInnerScopeForInitializer(@NotNull
JetScope outerScope,
@NotNull
java.util.List<? extends TypeParameterDescriptor> typeParameters,
@Nullable
ReceiverParameterDescriptor receiver,
BindingTrace trace)
printStructure
@TestOnly
@NotNull
public static java.lang.String printStructure(@Nullable
JetScope scope)