Removed kotlin.Boolean qualification
This commit is contained in:
+2
-2
@@ -292,7 +292,7 @@ public abstract class LazyJavaMemberScope(
|
||||
|
||||
//TODO: use nameFilter
|
||||
protected fun computeDescriptors(kindFilter: (JetScope.DescriptorKind) -> Boolean,
|
||||
nameFilter: (String) -> kotlin.Boolean): List<DeclarationDescriptor> {
|
||||
nameFilter: (String) -> Boolean): List<DeclarationDescriptor> {
|
||||
val result = LinkedHashSet<DeclarationDescriptor>()
|
||||
|
||||
if (kindFilter(JetScope.DescriptorKind.CLASSIFIER)) {
|
||||
@@ -321,7 +321,7 @@ public abstract class LazyJavaMemberScope(
|
||||
|
||||
protected open fun addExtraDescriptors(result: MutableSet<DeclarationDescriptor>,
|
||||
kindFilter: (JetScope.DescriptorKind) -> Boolean,
|
||||
nameFilter: (String) -> kotlin.Boolean) {
|
||||
nameFilter: (String) -> Boolean) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ public class LazyPackageFragmentScopeForJavaPackage(
|
||||
|
||||
override fun addExtraDescriptors(result: MutableSet<DeclarationDescriptor>,
|
||||
kindFilter: (JetScope.DescriptorKind) -> Boolean,
|
||||
nameFilter: (String) -> kotlin.Boolean) {
|
||||
nameFilter: (String) -> Boolean) {
|
||||
result.addAll(deserializedPackageScope().getDescriptors(kindFilter, nameFilter))
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ public trait JetScope {
|
||||
* (that means that the implementation is not obliged to use the filters but may do so when it gives any performance advantage).
|
||||
*/
|
||||
public fun getDescriptors(kindFilter: (JetScope.DescriptorKind) -> Boolean = DescriptorKind.ALL,
|
||||
nameFilter: (String) -> kotlin.Boolean = { true }): Collection<DeclarationDescriptor>
|
||||
nameFilter: (String) -> Boolean = { true }): Collection<DeclarationDescriptor>
|
||||
|
||||
/**
|
||||
* Adds receivers to the list in order of locality, so that the closest (the most local) receiver goes first
|
||||
|
||||
Reference in New Issue
Block a user