Package org.pitest.mutationtest.tooling
Class SmartSourceLocator
- java.lang.Object
-
- org.pitest.mutationtest.tooling.SmartSourceLocator
-
- All Implemented Interfaces:
SourceLocator
public class SmartSourceLocator extends Object implements SourceLocator
-
-
Constructor Summary
Constructors Constructor Description SmartSourceLocator(Collection<Path> roots, Charset inputCharset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Reader>locate(Collection<String> classes, String fileName)voidsourceRootHint(Path file)Provide hint as to where to look when dealing with multiple modules.
-
-
-
Constructor Detail
-
SmartSourceLocator
public SmartSourceLocator(Collection<Path> roots, Charset inputCharset)
-
-
Method Detail
-
locate
public Optional<Reader> locate(Collection<String> classes, String fileName)
- Specified by:
locatein interfaceSourceLocator
-
sourceRootHint
public void sourceRootHint(Path file)
Provide hint as to where to look when dealing with multiple modules. NOT thread safe.
-
-