diff options
author | aclement <aclement> | 2006-08-25 12:37:49 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-25 12:37:49 +0000 |
commit | 07e6e9a1767c860b483540ac165108983dc1e1f4 (patch) | |
tree | fd180b83ddb86ca9637df6afd9b1d75bb7c1a4a3 /asm | |
parent | 5787d0e82f32648f30f4677c13aef68d4615e300 (diff) | |
download | aspectj-07e6e9a1767c860b483540ac165108983dc1e1f4.tar.gz aspectj-07e6e9a1767c860b483540ac165108983dc1e1f4.zip |
last of the dreaded jdtlikehandleprovider changes - 141730#22
Diffstat (limited to 'asm')
-rw-r--r-- | asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java index e7912f7be..eb9ae4b5b 100644 --- a/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java +++ b/asm/src/org/aspectj/asm/internal/JDTLikeHandleProvider.java @@ -131,6 +131,12 @@ public class JDTLikeHandleProvider implements IElementHandleProvider { } } else if (ipe.getKind().equals(IProgramElement.Kind.INITIALIZER)) { return String.valueOf(++initializerCounter).toCharArray(); + } else if (ipe.getKind().equals(IProgramElement.Kind.CODE)) { + int index = CharOperation.lastIndexOf('!',byteCodeName); + if (index != -1) { + return convertCount(CharOperation.subarray(byteCodeName, + index+1,byteCodeName.length)); + } } return empty; } |