Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
 private boolean isInstanceActivationMethod(PartialMethodDecl m) {
   String name = m.getNamePatternNoTransform().toString();
   return name.equals(ID.implicitActivationMethodName);
 }