@Test public void testFileNameToJarPrefix() { assertThat(fileNameToJarPrefix("fooBar")).isEqualTo("jar:file:fooBar!"); assertThat(fileNameToJarPrefix("file:fooBar")).isEqualTo("jar:file:fooBar!"); }
static String fileNameToJarPrefix(@Nonnull final String jarFileFullPath) { return "jar:" + fileNameToFileProtocol(jarFileFullPath) + "!"; }
JarClassLoaderService implements ClassLoaderService { static String fileNameToJarPrefix(@Nonnull final String jarFileFullPath) { return "jar:" + fileNameToFileProtocol(jarFileFullPath) + "!"; } }
JarClassLoaderService implements ClassLoaderService { static String fileNameToJarPrefix(@Nonnull final String jarFileFullPath) { return "jar:" + fileNameToFileProtocol(jarFileFullPath) + "!"; } @Inject  JarClassLoaderService(final ArtifactDiscoveryService artifactDiscoveryService); }
JarClassLoaderService implements ClassLoaderService { static String fileNameToJarPrefix(@Nonnull final String jarFileFullPath) { return "jar:" + fileNameToFileProtocol(jarFileFullPath) + "!"; } @Inject  JarClassLoaderService(final ArtifactDiscoveryService artifactDiscoveryService); @Override List<ShadowClass> getAllClasses(@Nonnull Artifact artifact,
                                           @Nonnull final Predicate<String> classNameFilter); }
JarClassLoaderService implements ClassLoaderService { static String fileNameToJarPrefix(@Nonnull final String jarFileFullPath) { return "jar:" + fileNameToFileProtocol(jarFileFullPath) + "!"; } @Inject  JarClassLoaderService(final ArtifactDiscoveryService artifactDiscoveryService); @Override List<ShadowClass> getAllClasses(@Nonnull Artifact artifact,
                                           @Nonnull final Predicate<String> classNameFilter);  }