This shows you the differences between two versions of the page.
padl_creator_aspectj [2014/02/16 09:10] yann created |
padl_creator_aspectj [2018/03/04 02:53] |
||
---|---|---|---|
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 (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. | ||