From 9e935c0777e5780c8e4ce89dfaf32f2a7f34faa7 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 29 Jan 2010 20:30:34 +0000 Subject: [PATCH] extended definition and code gen to allow for deows --- .../weaver/loadtime/definition/Definition.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/loadtime/definition/Definition.java b/weaver/src/org/aspectj/weaver/loadtime/definition/Definition.java index 55ba1aea8..e3fc3e6f2 100644 --- a/weaver/src/org/aspectj/weaver/loadtime/definition/Definition.java +++ b/weaver/src/org/aspectj/weaver/loadtime/definition/Definition.java @@ -107,6 +107,7 @@ public class Definition { public final String precedence; public final List pointcuts; public final String perclause; + public List deows; public ConcreteAspect(String name, String extend) { this(name, extend, null, null); @@ -125,6 +126,7 @@ public class Definition { } this.precedence = precedence; this.pointcuts = new ArrayList(); + this.deows = new ArrayList(); this.perclause = perclause; } } @@ -139,6 +141,18 @@ public class Definition { } } + public static class DeclareErrorOrWarning { + public final boolean isError; + public final String pointcut; + public final String message; + + public DeclareErrorOrWarning(boolean isError, String pointcut, String message) { + this.isError = isError; + this.pointcut = pointcut; + this.message = message; + } + } + public void appendWeaverOptions(String option) { weaverOptions.append(option.trim()).append(' '); } -- 2.39.5