def METHOD_NAME(n, ea):
    if ea.isSetMath():
        variable = ea.getVariable()
        formula = formulaToString(ea.getMath())
        print("  EventAssignment " + str(n)
                              + ", trigger: " + variable + " = " + formula + "\n")