org.jetbrains.jet.lang.resolve.scopes
Class JetScopeUtils

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.scopes.JetScopeUtils

public final class JetScopeUtils
extends java.lang.Object


Method Summary
static java.util.Collection<CallableDescriptor> getAllExtensions(JetScope scope)
          Get all extension descriptors among visible descriptors for current scope.
static java.util.List<ReceiverValue> getImplicitReceiversHierarchyValues(JetScope scope)
           
static JetScope makeScopeForPropertyAccessor(PropertyDescriptor propertyDescriptor, JetScope parentScope, DescriptorResolver descriptorResolver, BindingTrace trace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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
                                                    DescriptorResolver descriptorResolver,
                                                    @NotNull
                                                    BindingTrace trace)