summaryrefslogtreecommitdiffstats
path: root/tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-30 14:58:56 +0000
committeracolyer <acolyer>2005-09-30 14:58:56 +0000
commitf74a5c0fc3634f080b6a1714bb4d5b25df2a914b (patch)
treee5397b4f42b616043f48bd4a1d527bd5b04cb5e6 /tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj
parent5051f8e49ff9ca7009b9b9b2b510941e45389d05 (diff)
downloadaspectj-f74a5c0fc3634f080b6a1714bb4d5b25df2a914b.tar.gz
aspectj-f74a5c0fc3634f080b6a1714bb4d5b25df2a914b.zip
updates to reflection library (largely javadoc, but with a few small tweaks)
Diffstat (limited to 'tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj')
-rw-r--r--tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj b/tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj
index e6014d7da..37be4f1ff 100644
--- a/tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj
+++ b/tests/java5/ataspectj/annotationGen/ReferencePointcuts.aj
@@ -8,10 +8,10 @@ public aspect ReferencePointcuts {
public static void main(String[] args) throws NoSuchPointcutException {
AjType myType = AjTypeSystem.getAjType(ReferencePointcuts.class);
- Pointcut p1 = myType.getPointcut("pc1");
+ Pointcut p1 = myType.getDeclaredPointcut("pc1");
if (!p1.getPointcutExpression().toString().equals("call(* *(..))"))
throw new RuntimeException("unexpected pc expression: " + p1.getPointcutExpression());
- Pointcut p2 = myType.getPointcut("pc2");
+ Pointcut p2 = myType.getDeclaredPointcut("pc2");
if (!p2.getPointcutExpression().toString().equals("(pc1() || execution(* *(..)))"))
throw new RuntimeException("unexpected pc expression: " + p2.getPointcutExpression());