package org.automon.aspects;


import org.aspectj.lang.annotation.Pointcut;

// Note the @Override annotation was not used below as it will not compile with ajc.
class MyDisabledTestAspect extends AutomonAspect {
    @Pointcut("none()")
    public void sys_monitor() {

    }

    @Pointcut("none()")
    public void user_monitor() {

    }

    @Pointcut("none()")
    public void sys_exceptions() {

    }

    // @Pointcut("!within(java.lang.Object+)")
    @Pointcut("none()")
    public void user_exceptions() {
    }

    @Pointcut("if()")
    public static boolean none() {
        return false;
    }

}
@@ -213,37 +213,40 @@
 %0A    @Pointcut(%22
-none(
+if(false
 )%22)%0A    public v
@@ -280,37 +280,40 @@
 %0A    @Pointcut(%22
-none(
+if(false
 )%22)%0A    public v
@@ -348,37 +348,40 @@
 %0A    @Pointcut(%22
-none(
+if(false
 )%22)%0A    public v
@@ -473,21 +473,24 @@
 intcut(%22
-none(
+if(false
 )%22)%0A    
@@ -532,91 +532,5 @@
  %7D%0A%0A
-    @Pointcut(%22if()%22)%0A    public static boolean none() %7B%0A        return false;%0A    %7D%0A%0A
 %7D

refactor - simplified pointcut and made it more standard by using if(false) to disable