public String getMethodName() { if (node.isCoreOperator()) { return node.getType(); } if (node.isFlowPart()) { return "create"; } return node.getMethodName(); }
@Override public String createVariableName() { String name; if (node.isFlowPart()) { name = StringUtil.getSimpleName(getFactoryName()); name = StringUtil.removeEnds(name, "Factory"); } else { name = node.getMethodName(); } return StringUtil.toFirstLower(name); }