padl_creator_aol
Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | padl_creator_aol [2025/01/15 21:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== PADL Creator AOL ====== | ||
| + | The AOL format was created by [[http:// | ||
| + | |||
| + | < | ||
| + | ICodeLevelModel codeLevelModel = | ||
| + | Factory.getInstance().createCodeLevelModel(name); | ||
| + | codeLevelModel.create(new AOLCreator( | ||
| + | new String[] { fileName })); | ||
| + | |||
| + | IIdiomLevelModel idiomLevelModel = null; | ||
| + | try { | ||
| + | final MethodInvocationAnalyser methodInvocationAdder = | ||
| + | new MethodInvocationAnalyser(); | ||
| + | methodInvocationAdder.setCLDFile(cldFileName); | ||
| + | codeLevelModel = | ||
| + | (ICodeLevelModel) methodInvocationAdder | ||
| + | .invoke(codeLevelModel); | ||
| + | |||
| + | idiomLevelModel = | ||
| + | (IIdiomLevelModel) new AACRelationshipsAnalysis( | ||
| + | false).invoke(codeLevelModel); | ||
| + | } | ||
| + | catch (final UnsupportedSourceModelException e) { | ||
| + | e.printStackTrace(ProxyConsole | ||
| + | .getInstance() | ||
| + | .errorOutput()); | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | :!: The '' | ||
