aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sandbox
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-01-08 17:05:36 +0000
committerwisberg <wisberg>2004-01-08 17:05:36 +0000
commit1103c631ddda49ce4f032f6794f649bd8ef19561 (patch)
treee4b7fffd0b831050e0339a227acce238d1d0ff5d /docs/sandbox
parent97ab1e91dfba52187c14f0f7e5fdf6fafd9966c4 (diff)
downloadaspectj-1103c631ddda49ce4f032f6794f649bd8ef19561.tar.gz
aspectj-1103c631ddda49ce4f032f6794f649bd8ef19561.zip
pointcuts for whether after/around advice is supported
Diffstat (limited to 'docs/sandbox')
-rw-r--r--docs/sandbox/common/org/aspectj/langlib/Pointcuts.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/sandbox/common/org/aspectj/langlib/Pointcuts.java b/docs/sandbox/common/org/aspectj/langlib/Pointcuts.java
index 6a07230c1..f07341ec7 100644
--- a/docs/sandbox/common/org/aspectj/langlib/Pointcuts.java
+++ b/docs/sandbox/common/org/aspectj/langlib/Pointcuts.java
@@ -40,7 +40,12 @@ public final class Pointcuts {
/** staticly-determinable to never match any join point */
public pointcut never();
// if(false) && execution(ThreadDeath *(ThreadDeath, ThreadDeath));
-
+
+ public pointcut afterAdviceSupported() : !handler(*);
+
+ public pointcut aroundAdviceSupported() : !handler(*)
+ && !initialization(new(..)) && !preinitialization(new(..));
+
public pointcut anyMethodExecution() :
execution(* *(..));