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);
}
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);
}