MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / accept

Method accept

NewBootstrap.java:1068–1079  ·  view source on GitHub ↗

{@inheritDoc} @since 2016/10/27

(Path __p, Object __s)

Source from the content-addressed store, hash-verified

1066 * @since 2016/10/27
1067 */
1068 @Override
1069 public void accept(Path __p, Object __s)
1070 throws IOException
1071 {
1072 // Ignore directories
1073 if (Files.isDirectory(__p))
1074 return;
1075
1076 // Add to sources if it is a source file
1077 if (__p.getFileName().toString().endsWith(".java"))
1078 fsources.add(__p.toFile());
1079 }
1080 });
1081
1082 // If there are no sources to compile, do not bother

Callers

nothing calls this directly

Calls 14

isDirectoryMethod · 0.95
endsWithMethod · 0.95
substringMethod · 0.95
lengthMethod · 0.95
newInputStreamMethod · 0.95
openMethod · 0.95
getFileNameMethod · 0.80
__zipNameMethod · 0.80
resolveSiblingMethod · 0.80
endsWithMethod · 0.65
toStringMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected