private void addMemberToLayerClass(LayerDeclaration decl, PartialMethodDecl method) { // LayerClassGenerator gen = new LayerClassGenerator(LayerDecl); Generation.removeStaticModifier(method.getModifiers()); jcop.transformation.lookup.Lookup.lookupLayerClassDecl(decl).addMemberMethod(method); }
private boolean isInstanceActivationMethod(PartialMethodDecl m) { String name = m.getNamePatternNoTransform().toString(); return name.equals(ID.implicitActivationMethodName); }