public class InheritanceTreeGenerator extends Object
| Constructor and Description |
|---|
InheritanceTreeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canUse(org.objectweb.asm.tree.ClassNode cn) |
static InheritanceTree |
createFromClassList(Collection<String> classNames)
Create inheritance tree only for the classes passed as parameter
|
static InheritanceTree |
createFromClassPath(List<String> classPath)
Iterate over items in classpath and analyze them
|
static void |
gatherStatistics(InheritanceTree inheritanceTree) |
static void |
generateJDKCluster(String... filters)
During runtime, we do not want to consider standard classes to safe some
time, so we perform this analysis only once.
|
static Collection<String> |
getAllResources() |
static void |
main(String[] args) |
static InheritanceTree |
readInheritanceTree(String fileName) |
static InheritanceTree |
readJDKData() |
static InheritanceTree |
readUncompressedInheritanceTree(String fileName) |
static void |
writeInheritanceTree(InheritanceTree tree,
File file) |
public static InheritanceTree createFromClassPath(List<String> classPath)
classPath - public static InheritanceTree createFromClassList(Collection<String> classNames) throws IllegalArgumentException
Private classes will be ignored
classNames - IllegalArgumentExceptionpublic static void gatherStatistics(InheritanceTree inheritanceTree)
public static boolean canUse(org.objectweb.asm.tree.ClassNode cn)
public static void generateJDKCluster(String... filters)
public static InheritanceTree readJDKData()
public static InheritanceTree readInheritanceTree(String fileName) throws IOException
IOExceptionpublic static InheritanceTree readUncompressedInheritanceTree(String fileName) throws IOException
IOExceptionpublic static void writeInheritanceTree(InheritanceTree tree, File file) throws IOException
IOExceptionpublic static Collection<String> getAllResources()
public static void main(String[] args)
Copyright © 2010–2017 EvoSuite. All rights reserved.