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