This shows you the differences between two versions of the page.
padl_creator_aspectj [2018/03/04 02:53] |
padl_creator_aspectj [2019/10/06 20:37] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PADL Creator AspectJ ====== | ||
+ | |||
+ | [[http://eclipse.org/aspectj/|AspectJ]] is a aspect-oriented programming language based on Java. It allows implementing and weaving cross-cutting concerns into Java programs. AspectJ used to use ''lst'' files ([[https://bugs.eclipse.org/bugs/show_bug.cgi?id=50454#c12|now ''ajproperties''?]]) so this creator is outdated but still interesting in that it works very simply | ||
+ | |||
+ | <code> | ||
+ | final AspectCreator ac = new AspectCreator(new String[] { <some lst files> }); | ||
+ | this.getCodeLevelModel().create(ac); | ||
+ | </code> | ||
+ | |||
+ | :!: The ''padl.generator.helper.ModelGenerator'' interface in project ''[[PADL Generator]]'' hides the implementation details of creating a PADL model and should be used in most of the cases. | ||