From 9da980ed5c7be54a6703fe9c44b7f0a1c88229b8 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 4 Jan 2005 21:08:48 +0000 Subject: [PATCH] Very very first simple helper bits of binary weaving decp --- weaver/src/org/aspectj/weaver/Member.java | 14 ++++++++++++++ weaver/src/org/aspectj/weaver/ResolvedMember.java | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/Member.java b/weaver/src/org/aspectj/weaver/Member.java index eaf0c9217..f128ec32c 100644 --- a/weaver/src/org/aspectj/weaver/Member.java +++ b/weaver/src/org/aspectj/weaver/Member.java @@ -110,6 +110,20 @@ public class Member implements Comparable, AnnotatedElement { return buf.toString(); } + /** + * Returns "(,...)" - unlike the other typesToSignature + * that also includes the return type, this one just deals with the parameter types. + */ + public static String typesToSignature(TypeX[] paramTypes) { + StringBuffer buf = new StringBuffer(); + buf.append("("); + for(int i=0;i