public class JetScopeSelectorUtil extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
JetScopeSelectorUtil.ScopeByNameMultiSelector<D extends DeclarationDescriptor> |
static interface |
JetScopeSelectorUtil.ScopeByNameSelector<D extends DeclarationDescriptor> |
static interface |
JetScopeSelectorUtil.ScopeDescriptorSelector<D extends DeclarationDescriptor> |
Modifier and Type | Method and Description |
---|---|
static <D extends DeclarationDescriptor> |
collect(java.util.Collection<JetScope> scopes,
JetScopeSelectorUtil.ScopeByNameMultiSelector<D> selector,
Name name) |
static <D extends DeclarationDescriptor> |
collect(java.util.Collection<JetScope> scopes,
JetScopeSelectorUtil.ScopeDescriptorSelector<D> selector) |
public static final JetScopeSelectorUtil.ScopeByNameSelector<ClassifierDescriptor> CLASSIFIER_DESCRIPTOR_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeByNameSelector<ClassDescriptor> NAMED_OBJECT_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeByNameSelector<NamespaceDescriptor> NAMESPACE_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeByNameMultiSelector<FunctionDescriptor> NAMED_FUNCTION_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeByNameMultiSelector<VariableDescriptor> NAMED_PROPERTIES_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeDescriptorSelector<ClassDescriptor> OBJECTS_SCOPE_SELECTOR
public static final JetScopeSelectorUtil.ScopeDescriptorSelector<DeclarationDescriptor> ALL_DESCRIPTORS_SCOPE_SELECTOR
@NotNull public static <D extends DeclarationDescriptor> java.util.Collection<D> collect(java.util.Collection<JetScope> scopes, JetScopeSelectorUtil.ScopeByNameMultiSelector<D> selector, Name name)
@NotNull public static <D extends DeclarationDescriptor> java.util.Collection<D> collect(java.util.Collection<JetScope> scopes, JetScopeSelectorUtil.ScopeDescriptorSelector<D> selector)