diff options
author | aclement <aclement> | 2008-11-13 10:39:39 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-11-13 10:39:39 +0000 |
commit | 96b6efff414aecc3095787cba34ec960b4e5e811 (patch) | |
tree | 45ce2de332aa253fcd746b69dbbe918d7a2d4e65 | |
parent | e17db0acf5975a413072d2d12725b1b4a0e566f3 (diff) | |
download | aspectj-96b6efff414aecc3095787cba34ec960b4e5e811.tar.gz aspectj-96b6efff414aecc3095787cba34ec960b4e5e811.zip |
252702: c7
-rw-r--r-- | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | 12 |
1 files 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 (!<n>) } 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)); + } // } } } |