public class ClassGraphBuilder extends Object
Constructor and Description |
---|
ClassGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeNodes()
Find all superclasses and subclasses for each class and superinterfaces and subinterfaces of each interface.
|
List<String> |
getClassesImplementing(String interfaceName) |
List<String> |
getClassesWithAnnotation(String annotationName) |
List<String> |
getSubclassesOf(String className) |
List<String> |
getSubinterfacesOf(String interfaceName) |
List<String> |
getSuperclassesOf(String className) |
List<String> |
getSuperinterfacesOf(String interfaceName) |
void |
linkToSuperclassAndInterfaces(String className,
String superclassName,
ArrayList<String> interfaces,
HashSet<String> annotations)
Link a class to its superclass and to the interfaces it implements, and save the class annotations.
|
void |
linkToSuperinterfaces(String interfaceName,
ArrayList<String> superInterfaces)
Save the mapping from an interface to its superinterfaces.
|
void |
reset() |
public void linkToSuperclassAndInterfaces(String className, String superclassName, ArrayList<String> interfaces, HashSet<String> annotations)
public void linkToSuperinterfaces(String interfaceName, ArrayList<String> superInterfaces)
public void finalizeNodes()
public void reset()
Copyright © 2015. All rights reserved.