No callable references to synthetic extensions (and ones for get/set)

This commit is contained in:
Valentin Kipyatkov
2015-09-30 17:23:18 +03:00
parent 2471647952
commit e41732e572
6 changed files with 69 additions and 54 deletions
@@ -143,6 +143,8 @@ public class DescriptorKindFilter(
return DescriptorKindFilter(mask, excludes)
}
public fun intersect(other: DescriptorKindFilter) = DescriptorKindFilter(kindMask and other.kindMask, excludes + other.excludes)
override fun toString(): String {
val predefinedFilterName = DEBUG_PREDEFINED_FILTERS_MASK_NAMES.firstOrNull { it.mask == kindMask } ?.name
val kindString = predefinedFilterName ?: DEBUG_MASK_BIT_NAMES