From: aclement Date: Thu, 8 May 2008 23:18:10 +0000 (+0000) Subject: big refactoring X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=88759c380ec2ed17764369db878e7879300b86bc;p=aspectj.git big refactoring --- diff --git a/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java b/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java index 99f1e66ab..5c04def2c 100644 --- a/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java +++ b/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java @@ -356,6 +356,7 @@ public class AjTypeImpl implements AjType { private boolean isReallyAMethod(Method method) { if (method.getName().startsWith(ajcMagic)) return false; + if (method.getAnnotations().length==0) return true; if (method.isAnnotationPresent(org.aspectj.lang.annotation.Pointcut.class)) return false; if (method.isAnnotationPresent(Before.class)) return false; if (method.isAnnotationPresent(After.class)) return false;