MCPcopy
hub / github.com/pantsbuild/pants / Source

Interface Source

src/java/org/pantsbuild/tools/jar/JarBuilder.java:278–292  ·  view source on GitHub ↗

Identifies a source for jar entries.

Source from the content-addressed store, hash-verified

276 * Identifies a source for jar entries.
277 */
278 public interface Source {
279
280 /**
281 * @return a name for this source.
282 */
283 String name();
284
285 /**
286 * Identifies a member of this source.
287 *
288 * @param name The name of the source
289 * @return identity
290 */
291 String identify(String name);
292 }
293
294 private abstract static class FileSource implements Source {
295 protected final File source;

Callers 15

mainFunction · 0.65
checkstyleMethod · 0.65
assert_checkerMethod · 0.65
_compile_nonhermeticMethod · 0.65
_compile_hermeticMethod · 0.65
work_for_vts_rscMethod · 0.65
_runtool_hermeticMethod · 0.65
addMethod · 0.65
_isolationMethod · 0.65
__str__Method · 0.65
extern_identifyMethod · 0.65

Implementers 2

FileSourcesrc/java/org/pantsbuild/tools/jar/JarB
JarBuildersrc/java/org/pantsbuild/tools/jar/JarB

Calls

no outgoing calls

Tested by

no test coverage detected