This project offers a metamodel for Java traces, enabling dynamic analysis of Java applications directly within Moose.
This project can imports file created using JavaCallStackExtractor.
To load FamixCallStack into a Moose image, execute the following code:
Metacello new githubUser: 'LeoDefossez' project: 'Famix-JavaTrace' commitish: 'master' path: 'src';
baseline: 'FamixJavaTrace';
load.You can import a trace in two ways:
The file extension .cs is not strictly required, a .json would also work:
file := '/Path/To/.../JDIOutput.tr' asFileReference.
model := JavaTraceJsonReader import: file.Simply drag the JDIOutput.tr file onto your Moose image.
Note: In this case, the file must have a .tr extension, otherwise, the import will fail.