Removed kotlin.Boolean qualification

This commit is contained in:
Valentin Kipyatkov
2014-10-30 21:38:26 +03:00
parent 78169f73a6
commit 5059ae5182
3 changed files with 4 additions and 4 deletions
@@ -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
}
@@ -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