Ejemplo n.º 1
0
 @Override
 public Collection<SNode> weave(
     @NotNull NodeWeaveFacility.WeaveContext weaveContext, @NotNull NodeWeaveFacility weaveSupport)
     throws GenerationException {
   final TemplateContext templateContext = weaveSupport.getTemplateContext();
   SNode tnodepart0 = applyPart0(templateContext);
   weaveSupport.weaveNode(
       MetaAdapterFactory.getContainmentLink(
           0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer"),
       tnodepart0);
   return TemplateUtil.singletonList(tnodepart0);
 }
Ejemplo n.º 2
0
 @Override
 public Collection<SNode> weave(
     @NotNull NodeWeaveFacility.WeaveContext weaveContext, @NotNull NodeWeaveFacility weaveSupport)
     throws GenerationException {
   final TemplateContext templateContext =
       weaveSupport.getTemplateContext().subContext(getParametersAsMap());
   SNode tnodepart0 = applyPart0(templateContext);
   weaveSupport.weaveNode(
       MetaAdapterFactory.getContainmentLink(
           0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b200L, 0xf8cc6bf961L, "statement"),
       tnodepart0);
   return TemplateUtil.singletonList(tnodepart0);
 }