org.jetbrains.jet.lang.resolve.scopes
Class JetScopeUtils
java.lang.Object
org.jetbrains.jet.lang.resolve.scopes.JetScopeUtils
public final class JetScopeUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getImplicitReceiversHierarchyValues
public static java.util.List<ReceiverValue> getImplicitReceiversHierarchyValues(@NotNull
JetScope scope)
getAllExtensions
public static java.util.Collection<CallableDescriptor> getAllExtensions(@NotNull
JetScope scope)
- Get all extension descriptors among visible descriptors for current scope.
- Parameters:
scope
- Scope for query extensions.
- Returns:
- extension descriptors.
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
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)