Exemple #1
0
 public void addLayerImport(LayerDeclaration layer) {
   ClassDecl decl = jcop.transformation.lookup.Lookup.lookupLayerClassDecl(layer);
   layerImports.add(decl);
 }
Exemple #2
0
 private void addMemberToLayerClass(LayerDeclaration decl, PartialMethodDecl method) {
   // LayerClassGenerator gen = new LayerClassGenerator(LayerDecl);
   Generation.removeStaticModifier(method.getModifiers());
   jcop.transformation.lookup.Lookup.lookupLayerClassDecl(decl).addMemberMethod(method);
 }