diff options
author | aclement <aclement> | 2009-03-24 01:55:17 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-03-24 01:55:17 +0000 |
commit | b269e7bf87f9cc1951ecbcbec0d40f2682964854 (patch) | |
tree | 578c8e4809422d5313079f31b14a8fdcd4ff9995 /weaver | |
parent | 3274723d55a95c98a1d67d1f53af292743751045 (diff) | |
download | aspectj-b269e7bf87f9cc1951ecbcbec0d40f2682964854.tar.gz aspectj-b269e7bf87f9cc1951ecbcbec0d40f2682964854.zip |
265993: more jdt like handles
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java index 1370b4d13..164aa2fd7 100644 --- a/weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java @@ -599,11 +599,12 @@ public class AsmRelationshipProvider { } private static void setParams(IProgramElement pe, ResolvedMember sig) { + // do it for itds too UnresolvedType[] ts = sig.getParameterTypes(); pe.setParameterNames(Collections.EMPTY_LIST); String[] pnames = sig.getParameterNames(); if (ts == null) { - pe.setParameterSignatures(Collections.EMPTY_LIST); + pe.setParameterSignatures(Collections.EMPTY_LIST, Collections.EMPTY_LIST); } else { List paramSigs = new ArrayList(); List paramNames = new ArrayList(); @@ -611,7 +612,7 @@ public class AsmRelationshipProvider { paramSigs.add(ts[i].getSignature().toCharArray()); // paramNames.add(pnames[i]); } - pe.setParameterSignatures(paramSigs); + pe.setParameterSignatures(paramSigs, Collections.EMPTY_LIST); // pe.setParameterNames(paramNames); } pe.setCorrespondingType(sig.getReturnType().getName()); |