/* * (non-Javadoc) * * @see snipmatch.core.MatchEnvironment#evaluateEffect(snipmatch.core.EffectMatchNode, java.lang.Object[]) */ @Override protected Object evaluateEffect(EffectMatchNode effectNode, Object[] args) { Effect effect = effectNode.getEffect(); TemplateBuffer buffer; try { buffer = translator.translate(effect.getCode()); return evaluationJDTTemplate(effect, buffer, args); } catch (TemplateException e) { e.printStackTrace(); return evaluationNormalSnip(effectNode, args); } }