You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For known Condition implementations, we "know" that they technically contain a "virtual" @ConditionalOnClass condition.
Sample: org.springframework.boot.autoconfigure.condition.OnWebApplicationCondition#isServletWebApplication effectively equals @ConditionalOnClass("org.springframework.web.context.support.GenericWebApplicationContext") performed by corresponding ClassUtils.isPresent() call.
Benefits:
Improved startup time for application
Improved performance in IDEs using such metadata (as IntelliJ IDEA already does)
TBD: How can such knowledge be provided/maintained for any custom Condition implementation wishing to participate in this metadata generation.