public class DefaultCodeSource extends Object implements CodeSource
| Constructor and Description |
|---|
DefaultCodeSource(ProjectClassPaths classPath) |
DefaultCodeSource(ProjectClassPaths classPath,
Repository classRepository) |
| Modifier and Type | Method and Description |
|---|---|
Stream<ClassTree> |
codeTrees() |
Optional<byte[]> |
fetchClassBytes(ClassName clazz) |
Optional<ClassHash> |
fetchClassHash(ClassName clazz) |
Collection<ClassHash> |
fetchClassHashes(Collection<ClassName> classes) |
Optional<ClassName> |
findTestee(String className) |
Optional<byte[]> |
getBytes(String clazz) |
ClassPath |
getClassPath() |
Set<ClassName> |
getCodeUnderTestNames() |
Set<ClassName> |
getTestClassNames() |
Stream<ClassTree> |
testTrees() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllClassAndTestNamespublic DefaultCodeSource(ProjectClassPaths classPath)
public DefaultCodeSource(ProjectClassPaths classPath, Repository classRepository)
public Stream<ClassTree> codeTrees()
codeTrees in interface CodeSourcepublic Set<ClassName> getCodeUnderTestNames()
getCodeUnderTestNames in interface CodeSourcepublic Set<ClassName> getTestClassNames()
getTestClassNames in interface CodeSourcepublic Stream<ClassTree> testTrees()
testTrees in interface CodeSourcepublic ClassPath getClassPath()
getClassPath in interface CodeSourcepublic Optional<ClassName> findTestee(String className)
findTestee in interface CodeSourcepublic Collection<ClassHash> fetchClassHashes(Collection<ClassName> classes)
fetchClassHashes in interface CodeSourcepublic Optional<byte[]> fetchClassBytes(ClassName clazz)
fetchClassBytes in interface CodeSourcepublic Optional<ClassHash> fetchClassHash(ClassName clazz)
fetchClassHash in interface ClassHashSourcefetchClassHash in interface CodeSourcepublic Optional<byte[]> getBytes(String clazz)
getBytes in interface ClassByteArraySourcegetBytes in interface CodeSourceCopyright © 2024 org.pitest. All rights reserved.