File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/com/coxautodev/graphql/tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ internal class FieldResolverScanner(val options: SchemaParserOptions) {
2121 private val log = LoggerFactory .getLogger(FieldResolverScanner ::class .java)
2222
2323 fun getAllMethods (type : Class <* >) =
24- type.declaredMethods .toList().filter { ! it.isSynthetic } + ClassUtils .getAllSuperclasses(type)
25- .flatMap { it.declaredMethods.toList() }
24+ ( type.methods .toList() + ClassUtils .getAllSuperclasses(type).flatMap { it.methods.toList() } )
25+ .filter { ! it.isSynthetic }
2626 .filter { ! Modifier .isPrivate(it.modifiers) }
2727 // discard any methods that are coming off the root of the class hierarchy
2828 // to avoid issues with duplicate method declarations
You can’t perform that action at this time.
0 commit comments