As a follow-up of #27991 and #28160, a filtering on the generated configuration should be done based on classpath checks using reachableType for all hints + reflection/proxy/serializable types. This will allow to reduce the amount of configuration generated.