Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core
This commit is contained in:
@@ -144,7 +144,7 @@ public class ManglingUtils {
|
||||
int counter = 0;
|
||||
|
||||
if (jetScope != null) {
|
||||
Collection<DeclarationDescriptor> declarations = jetScope.getDescriptors(JetScope.CALLABLES_MASK, JetScope.ALL_NAME_FILTER);
|
||||
Collection<DeclarationDescriptor> declarations = jetScope.getDescriptors(JetScope.KindFilter.CALLABLES, JetScope.ALL_NAME_FILTER);
|
||||
List<CallableMemberDescriptor>
|
||||
overloadedFunctions = ContainerUtil.mapNotNull(declarations, new Function<DeclarationDescriptor, CallableMemberDescriptor>() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user