From b5c05b153856631cb6010aae94d75c1e695c22dd Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Feb 2005 15:09:10 +0000 Subject: [PATCH] New lint message added for non-matching advice warning --- weaver/src/org/aspectj/weaver/Lint.java | 5 ++++- weaver/src/org/aspectj/weaver/XlintDefault.properties | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/Lint.java b/weaver/src/org/aspectj/weaver/Lint.java index 942aab182..2645dd547 100644 --- a/weaver/src/org/aspectj/weaver/Lint.java +++ b/weaver/src/org/aspectj/weaver/Lint.java @@ -74,7 +74,10 @@ public class Lint { public final Kind cantMatchArrayTypeOnVarargs = new Kind("cantMatchArrayTypeOnVarargs","an array type as the last parameter in a signature does not match on the varargs declared method: {0}"); - public Lint(World world) { + public final Kind adviceDidNotMatch = + new Kind("adviceDidNotMatch","advice defined in {0} has not been applied"); + + public Lint(World world) { this.world = world; } diff --git a/weaver/src/org/aspectj/weaver/XlintDefault.properties b/weaver/src/org/aspectj/weaver/XlintDefault.properties index 961bb41fc..67670fa4a 100644 --- a/weaver/src/org/aspectj/weaver/XlintDefault.properties +++ b/weaver/src/org/aspectj/weaver/XlintDefault.properties @@ -19,4 +19,5 @@ noInterfaceCtorJoinpoint = warning noJoinpointsForBridgeMethods = warning cantMatchArrayTypeOnVarargs = ignore enumAsTargetForDecpIgnored = warning -annotationAsTargetForDecpIgnored = warning \ No newline at end of file +annotationAsTargetForDecpIgnored = warning +adviceDidNotMatch = warning \ No newline at end of file -- 2.39.5