Class AntipatternDetection
java.lang.Object
edu.university.ecs.lab.detection.antipatterns.AntipatternDetection
Class to detect multiple antipatterns from IR of a given system
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidcreateIRSystem(String configPath, String fileName) Method to create an IR from config filestatic voidstatic <T> voidwriteObjectToJsonFile(T object, String filename) Method to write dependency graph objects to JSON
-
Constructor Details
-
AntipatternDetection
public AntipatternDetection()
-
-
Method Details
-
main
-
createIRSystem
Method to create an IR from config file- Parameters:
configPath- path to configuration filefileName- name of output file for IR extraction
-
writeObjectToJsonFile
Method to write dependency graph objects to JSON- Type Parameters:
T- generalized json class- Parameters:
object- json object to be written to filefilename- name of output JSON file
-