docs: public static URL codeLocationFromClass(Class<?> codeLocationClass) {
          String pathOfClass = codeLocationClass.getName().replace(".", "/") + ".class";
          URL classResource = codeLocationClass.getClassLoader().getResource(pathOfClass);
          String codeLocationPath = removeEnd(getPathFromURL(classResource), pathOfClass);
          if(codeLocationPath.endsWith(".jar!/")) {
              codeLocationPath=removeEnd(codeLocationPath,"!/");
          }
          return codeLocationFromPath(codeLocationPath);
      }