public static Class<?> loadClassIfAvailable(String className) {
    try {
      return loadClass(className);
    } catch (ClassNotFoundException e) {
      return null;
    }
  }
Determines the package name without calling {@code Class.getPackage()}
(which may return null).
spock-core/src/main/java/org/spockframework/util/ReflectionUtil.java