else if(in_oAtomExp.getOclReference() instanceof VariableExp)
{
for(EventParameterInstance oParameterInstance : TCGParameterHelperClass.
findTransitionInstanceDefiningTheCurrentEvent(in_oTransitionInstance).getParameterInstances())
{
Variable oVar = (Variable)in_oAtomExp.getElement();
// get matched event parameter
// EObject oMatchedEventParameter =
// TCGEventHelperClass.getMapExprParamToEventParam().get(oVar.getRepresentedParameter());
// if(oMatchedEventParameter == null)
// oMatchedEventParameter = oVar.getRepresentedParameter();
// if(oParameterInstance.getParameter().getReference().equals(oMatchedEventParameter)) {
TCGTransition oTraversedTransition = in_oTransitionInstance.getTransition();
List<Parameter> colMatchedEventParameters = new ArrayList<Parameter>();
colMatchedEventParameters.add(oVar.getRepresentedParameter());
if(oTraversedTransition != null) {
colMatchedEventParameters.addAll(
TCGEventHelperClass.getEventParameters(
oVar.getRepresentedParameter(), oTraversedTransition));
}
if(colMatchedEventParameters.contains(oParameterInstance.getParameter().getReference())) {
in_oFormattedOutput.append(
TCGParameterHelperClass.