Performing the check in a static initializer allows Graal's static analysis to identify that the code will never be run when Liquibase isn't on the classpath and avoid including it in the image.
Performing the check in a static initializer allows Graal's static analysis to identify that the code will never be run when Liquibase isn't on the classpath and avoid including it in the image.