package com.poco.PoCoRuntime;

import org.aspectj.lang.JoinPoint;

/**
 * Represents an action/result intercepted by AspectJ for use by PoCo policies.
 * This object is created from an AspectJ JoinPoint object and provides all necessary
 * information for PoCo policies to make a decision.
 */
public class Event {
    private String signature;

    /**
     * Construct an event from explicitly passed details. Used when testing.
     * @param signature method signature of event
     */
    public Event(String signature) {
        this.signature = signature;
    }

    public Event(JoinPoint joinPoint) {
        this.signature = joinPoint.getSignature().toString();
    }

    public String getSignature() {
        return signature;
    }
}

@@ -337,16 +337,45 @@
 gnature;
+%0A    public String eventType;
 %0A%0A    /*
@@ -453,16 +453,23 @@
 esting.%0A
+     *%0A
      * @
@@ -538,24 +538,42 @@
 vent(String 
+eventType, String 
 signature) %7B
@@ -590,29 +590,174 @@
 his.
-signature = signature
+eventType = eventType;%0A        this.signature = signature;%0A    %7D%0A%0A    public Event(String eventType) %7B%0A        this.eventType = eventType;%0A        this.signature = %22%22
 ;%0A  

Add an overload constructor