public UnresolvedType getReturnType();
public UnresolvedType getGenericReturnType();
+ public UnresolvedType[] getGenericParameterTypes();
public UnresolvedType getType();
public UnresolvedType getReturnType() { return returnType; }
public UnresolvedType getGenericReturnType() { return getReturnType(); }
+ public UnresolvedType[] getGenericParameterTypes() { return getParameterTypes(); }
/* (non-Javadoc)
* @see org.aspectj.weaver.Member#getType()
*/
return true;
}
- UnresolvedType[] p1 = m1.getParameterTypes();
- UnresolvedType[] p2 = m2.getParameterTypes();
+
+ UnresolvedType[] p1 = m1.getGenericParameterTypes();
+ UnresolvedType[] p2 = m2.getGenericParameterTypes();
+ if (p1==null) p1 = m1.getParameterTypes();
+ if (p2==null) p2 = m2.getParameterTypes();
int n = p1.length;
if (n != p2.length) return false;