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;

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

    public String getSignature() {
        return signature;
    }
}

@@ -339,16 +339,239 @@
 ature;%0A%0A
+    /**%0A     * Construct an event from explicitly passed details. Used when testing.%0A     * @param signature method signature of event%0A     */%0A    public Event(String signature) %7B%0A        this.signature = signature;%0A    %7D%0A%0A
     publ

Prepare Event class for testing