String (@Nullable String relativeToModulePathWithJarSuffix) { String relativeToModulePath = relativeToModulePathWithJarSuffix; if (relativeToModulePath != null) { int jarSufIdx = relativeToModulePathWithJarSuffix.indexOf(JarFileSystem.JAR_SEPARATOR); if (jarSufIdx != -1) { relativeToModulePath = relativeToModulePath.substring(0, jarSufIdx); } } return relativeToModulePath; }