* Return true if the declaration has @Aspect annotation
*/
private boolean isAnnotationStyleAspectDeclaration(TypeDeclaration dec) {
- Annotation[] annotations = dec.annotations;
- boolean isAtAspect = false;
- if (annotations != null) {
- for (int i = 0; i < annotations.length && !isAtAspect; i++) {
- if (annotations[i].resolvedType.debugName().equals("org.aspectj.lang.annotation.Aspect")) {
- isAtAspect = true;
- }
- }
- }
- return isAtAspect;
+ return false;
+// Annotation[] annotations = dec.annotations;
+// boolean isAtAspect = false;
+// if (annotations != null) {
+// for (int i = 0; i < annotations.length && !isAtAspect; i++) {
+// if (annotations[i].resolvedType.debugName().equals("org.aspectj.lang.annotation.Aspect")) {
+// isAtAspect = true;
+// }
+// }
+// }
+// return isAtAspect;
}
private void buildInterTypeAndPerClause(ClassScope s) {
// public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699 () {
// runTest("inherit adivce with this() and thisJoinPoint");
// }
-
- public void testAtAspectInheritsAbstractPointcut_pr125810 () {
- runTest("warning when inherited pointcut not made concrete");
- }
+//
+// public void testAtAspectInheritsAbstractPointcut_pr125810 () {
+// runTest("warning when inherited pointcut not made concrete");
+// }
/*
* Load-time weaving bugs and enhancements