]> source.dussan.org Git - aspectj.git/commitdiff
advice remembers the set of lint warnings that are suppressed for it via @SuppressAjW...
authoracolyer <acolyer>
Wed, 17 Aug 2005 08:39:02 +0000 (08:39 +0000)
committeracolyer <acolyer>
Wed, 17 Aug 2005 08:39:02 +0000 (08:39 +0000)
weaver/src/org/aspectj/weaver/Advice.java

index 7e9863c2d98c057fce86c8f8aa119c97737f63e9..7eb40cd0908f818e999c95e11fd72d426d50bbde 100644 (file)
@@ -39,6 +39,8 @@ public abstract class Advice extends ShadowMunger {
     protected int nFreeVars; // just for cflow*Entry kinds
     
     protected TypePattern exceptionType; // just for Softener kind
+    
+    protected List/*Lint.Kind*/ suppressedLintKinds = null; // based on annotations on this advice
 
     public static Advice makeCflowEntry(World world, Pointcut entry, boolean isBelow, Member stackField, int nFreeVars, List innerCflowEntries, ResolvedType inAspect){
        Advice ret = world.createAdviceMunger(isBelow ? AdviceKind.CflowBelowEntry : AdviceKind.CflowEntry,