@Test public void testGetClassNames() throws IOException, ArtifactResolutionException { Artifact artifact = resolveArtifact("com.google.truth.extensions:truth-java8-extension:1.0.1"); ClassPathEntry entry = new ClassPathEntry(artifact); ImmutableSet<String> classFileNames = entry.getFileNames(); Truth.assertThat(classFileNames).containsExactly( "com.google.common.truth.IntStreamSubject", "com.google.common.truth.LongStreamSubject", "com.google.common.truth.OptionalDoubleSubject", "com.google.common.truth.OptionalSubject", "com.google.common.truth.OptionalIntSubject", "com.google.common.truth.OptionalLongSubject", "com.google.common.truth.PathSubject", "com.google.common.truth.Truth8", "com.google.common.truth.StreamSubject"); }
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();  }