k3
k3 copied to clipboard
action language providing open class mechanism to xtend/java
in the current xtend version, the detection of unused import doesnt correctly detect the use of the import static extension. A user who is used to clean his code (typically...
In K3, one may want to write this kind of code: ``` class A { // @Opposite... // @Composition... List myB } ``` In such a case, the annotations inject...
In the original cellular_automata sample, the rules have been splitted in several ecore files, one ecore is the core containing reusable part of the rule language, and the other ecore...
Description : If a transformation is designed in a specific package. In an other package, there is an extension of the previous tranformation with a class that extends one of...
When generating aspect on top of an ecore, if this ecore comes from thirdparties, it may have been slightly customized. One of the usual customization is to set a basePackage...
Context : In the sample "https://github.com/diverse-project/k3/tree/master/sample/fr.inria.diverse.k3.sample.loadXtendModelFromXtend" The parser has some inputs arguments among the classpath. We set the classpath argument to "null" and the parser manages classpath as its own...
I have a issue with a class named "System" this class is placed in another package (ie. not in the package containing the aspect) (in my original use case, the...
The composition annotation supports 0..1 and 1..1 cardinality only. Must supports \* as well.
The goal of this annotation is to tag a model element with a cardinality. Can be used as constraints on a model to check at a given instant.
For instance (commited in k3.test, TestGenerics): @Aspect(className=typeof(Object)) abstract class TestGenericsAttrGeneric { protected var T attr = null } produces the following Java code that does not compile: protected static ?...