summaryrefslogtreecommitdiffstats
path: root/docs/sandbox
diff options
context:
space:
mode:
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(* *(..));