getBootModuleLayer
A ModuleLayer needs to be provided for the ReflectionTypeSolver and the boot layer (the module layer containing the module `java.base`) is chosen as a default. There may be advanced cases where this assumption is incorrect. In these cases, the ClassLoaderTypeSolver should be used instead.
Return
the boot module layer, if it exists (i.e. on Java >9)