diff options
author | aclement <aclement> | 2008-11-28 20:44:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-11-28 20:44:34 +0000 |
commit | 7cc89195decaf1f2b862f24872ee387973e76cac (patch) | |
tree | cd1b3809b47c7c497a2dcf2b2298fb0f11acab00 | |
parent | ae5ed056a7c9424f10bf03187cfc1fb6c80db62a (diff) | |
download | aspectj-7cc89195decaf1f2b862f24872ee387973e76cac.tar.gz aspectj-7cc89195decaf1f2b862f24872ee387973e76cac.zip |
256937: test and fix
2 files changed, 2 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index da61dfa0b..c1ca366a6 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -187,7 +187,7 @@ public class AsmElementFormatter { node.setKind(IProgramElement.Kind.ERROR); node.setName(name); } - node.setCorrespondingType(itd.returnType.toString()); + node.setCorrespondingType(new String(itd.returnType.resolvedType.readableName())); if (node.getKind() != IProgramElement.Kind.INTER_TYPE_FIELD) { setParameters(methodDeclaration, node); } diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java index fc03e4923..2f7e6e074 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java @@ -508,7 +508,7 @@ public class AsmHierarchyBuilder extends ASTVisitor { peNode.setCorrespondingType(methodDeclaration.returnType.toString()); } else { if (methodDeclaration.returnType.resolvedType != null) - peNode.setCorrespondingType(methodDeclaration.returnType.resolvedType.debugName()); + peNode.setCorrespondingType(new String(methodDeclaration.returnType.resolvedType.readableName())); else peNode.setCorrespondingType(null); } |