From 96b6efff414aecc3095787cba34ec960b4e5e811 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 13 Nov 2008 10:39:39 +0000 Subject: [PATCH] 252702: c7 --- .../aspectj/asm/internal/JDTLikeHandleProvider.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java index 662f40deb..7c8e6253f 100644 --- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java @@ -92,10 +92,14 @@ public class JDTLikeHandleProvider implements IElementHandleProvider { // format: 'new Runnable() {..}' but its anon-y-mouse // dont append anything, there may be a count to follow though (!) } else { - // if (ipe.getKind() == IProgramElement.Kind.PACKAGE && ipe.getName().equals("DEFAULT")) { - // // the delimiter will be in there, but skip the word DEFAULT as it is just a placeholder - // } else { - handle.append(ipe.getName()).append(getParameters(ipe)); + if (ipe.getKind() == IProgramElement.Kind.INTER_TYPE_CONSTRUCTOR) { + handle.append(ipe.getName()).append("_new").append(getParameters(ipe)); + } else { + // if (ipe.getKind() == IProgramElement.Kind.PACKAGE && ipe.getName().equals("DEFAULT")) { + // // the delimiter will be in there, but skip the word DEFAULT as it is just a placeholder + // } else { + handle.append(ipe.getName()).append(getParameters(ipe)); + } // } } } -- 2.39.5