Minor. Rename excludes list
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ internal inline fun FunctionCollector(
|
||||
if (candidate.kind.isReal
|
||||
&& !candidate.isKniBridgeFunction()
|
||||
&& !candidate.isDeprecatedTopLevelFunction()
|
||||
&& !candidate.isBlacklistedDarwinFunction()
|
||||
&& !candidate.isIgnoredDarwinFunction()
|
||||
) {
|
||||
typedCollector(candidate)
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ internal fun SimpleFunctionDescriptor.isDeprecatedTopLevelFunction() =
|
||||
containingDeclaration is PackageFragmentDescriptor && annotations.hasAnnotation(DEPRECATED_ANNOTATION_FQN)
|
||||
|
||||
// the following logic determines Kotlin functions with conflicting overloads in Darwin library:
|
||||
internal fun SimpleFunctionDescriptor.isBlacklistedDarwinFunction(): Boolean {
|
||||
internal fun SimpleFunctionDescriptor.isIgnoredDarwinFunction(): Boolean {
|
||||
if ((containingDeclaration as? PackageFragmentDescriptor)?.fqName?.isUnderDarwinPackage != true)
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user