diff options
author | aclement <aclement> | 2005-04-19 12:36:20 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 12:36:20 +0000 |
commit | e3cfca7e4d8f1e72b2ebb7e669eb440a3426df66 (patch) | |
tree | 3220446f46f19e5b448885e49b5d863be875a5f6 /weaver | |
parent | 7d8f36fd550d449d9e5cea4db12c2aab47df6e9a (diff) | |
download | aspectj-e3cfca7e4d8f1e72b2ebb7e669eb440a3426df66.tar.gz aspectj-e3cfca7e4d8f1e72b2ebb7e669eb440a3426df66.zip |
from branch: mod to check if exceptions must be verified or not...
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/ShadowMunger.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ShadowMunger.java b/weaver/src/org/aspectj/weaver/ShadowMunger.java index 9425cd6fd..4ff34b89d 100644 --- a/weaver/src/org/aspectj/weaver/ShadowMunger.java +++ b/weaver/src/org/aspectj/weaver/ShadowMunger.java @@ -16,7 +16,6 @@ package org.aspectj.weaver; import java.util.Collection; import org.aspectj.asm.AsmManager; -import org.aspectj.asm.internal.ProgramElement; import org.aspectj.bridge.ISourceLocation; import org.aspectj.util.PartialOrder; import org.aspectj.weaver.patterns.PerClause; @@ -119,4 +118,12 @@ public abstract class ShadowMunger implements PartialOrder.PartialComparable, IH * might be thrown by this munger */ public abstract Collection getThrownExceptions(); + + /** + * Does the munger has to check that its exception are accepted by the shadow ? + * ATAJ: It s not the case for @AJ around advice f.e. that can throw Throwable, even if the advised + * method does not throw any exceptions. + * @return true if munger has to check that its exceptions can be throwned based on the shadow + */ + public abstract boolean mustCheckExceptions(); } |