]> source.dussan.org Git - aspectj.git/commitdiff
big refactoring
authoraclement <aclement>
Thu, 8 May 2008 23:18:10 +0000 (23:18 +0000)
committeraclement <aclement>
Thu, 8 May 2008 23:18:10 +0000 (23:18 +0000)
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java

index 99f1e66ab593f6de78ab88d63ab37eacbb2c51d3..5c04def2c802a2b68bc94e58590fd7be44a7410a 100644 (file)
@@ -356,6 +356,7 @@ public class AjTypeImpl<T> implements AjType<T> {
 
        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;