Интерфейсы не надо просматривать

This commit is contained in:
DBotThePony 2023-01-23 16:45:08 +07:00
parent 493cbca351
commit d8c644c64b
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -359,8 +359,10 @@ class BuilderAdapter<T : Any> private constructor(
}
for (parent in input.supertypes) {
if (parent.classifier is KClass<*>) {
collectDecl(parent.classifier as KClass<*>, output)
val classifier = parent.classifier
if (classifier is KClass<*> && !classifier.java.isInterface) {
collectDecl(classifier, output)
}
}
}