@Test public void testGetClassNames_noManifest() throws IOException, ArtifactResolutionException, URISyntaxException { ClassPathEntry entry = TestHelper.classPathEntryOfResource( "testdata/conscrypt-openjdk-uber-1.4.2.jar"); ImmutableSet<String> classFileNames = entry.getFileNames(); for (String filename : classFileNames) { Assert.assertFalse(filename.toLowerCase(Locale.ENGLISH).contains("manifest")); Assert.assertFalse(filename.toLowerCase(Locale.ENGLISH).contains("meta")); } }
public synchronized ImmutableSet<String> getFileNames() throws IOException { if (fileNames == null) { readFileNames(); } return fileNames; }
ClassPathEntry { public synchronized ImmutableSet<String> getFileNames() throws IOException { if (fileNames == null) { readFileNames(); } return fileNames; } }
ClassPathEntry { public synchronized ImmutableSet<String> getFileNames() throws IOException { if (fileNames == null) { readFileNames(); } return fileNames; } ClassPathEntry(Path jar);  ClassPathEntry(Artifact artifact); }
ClassPathEntry { public synchronized ImmutableSet<String> getFileNames() throws IOException { if (fileNames == null) { readFileNames(); } return fileNames; } ClassPathEntry(Path jar);  ClassPathEntry(Artifact artifact); Artifact getArtifact(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); synchronized ImmutableSet<String> getFileNames(); }
ClassPathEntry { public synchronized ImmutableSet<String> getFileNames() throws IOException { if (fileNames == null) { readFileNames(); } return fileNames; } ClassPathEntry(Path jar);  ClassPathEntry(Artifact artifact); Artifact getArtifact(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); synchronized ImmutableSet<String> getFileNames();  }