From f74a5c0fc3634f080b6a1714bb4d5b25df2a914b Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 30 Sep 2005 14:58:56 +0000 Subject: updates to reflection library (largely javadoc, but with a few small tweaks) --- .../weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'weaver5') diff --git a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java index 164fc9f80..952fdec08 100644 --- a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java +++ b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java @@ -203,14 +203,14 @@ public class Java15ReflectionBasedReferenceTypeDelegate extends pointcuts = new ResolvedMember[pcs.length]; PointcutParser parser = new PointcutParser(); for (int i = 0; i < pcs.length; i++) { - Class[] ptypes = pcs[i].getParameterTypes(); + AjType[] ptypes = pcs[i].getParameterTypes(); String[] pnames = pcs[i].getParameterNames(); if (pnames.length != ptypes.length) { throw new IllegalStateException("Required parameter names not available when parsing pointcut " + pcs[i].getName() + " in type " + getResolvedTypeX().getName()); } PointcutParameter[] parameters = new PointcutParameter[ptypes.length]; for (int j = 0; j < parameters.length; j++) { - parameters[j] = parser.createPointcutParameter(pnames[j],ptypes[j]); + parameters[j] = parser.createPointcutParameter(pnames[j],ptypes[j].getJavaClass()); } String pcExpr = pcs[i].getPointcutExpression().toString(); PointcutExpressionImpl pEx = (PointcutExpressionImpl) parser.parsePointcutExpression(pcExpr,getBaseClass(),parameters); -- cgit v1.2.3