Интерфейсы не надо просматривать
This commit is contained in:
parent
493cbca351
commit
d8c644c64b
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user