diff options
author | bvosburgh | 2009-04-21 13:40:28 +0000 |
---|---|---|
committer | bvosburgh | 2009-04-21 13:40:28 +0000 |
commit | 8d9a7ced3584cbe2cbb8438044dbc0aca328d3ab (patch) | |
tree | 0be91ce542f8446b1aa56fec7036dafb3d21f71a | |
parent | dd7d461f5dc4542f23a24b36aca78570e79c9bb2 (diff) | |
download | webtools.dali-8d9a7ced3584cbe2cbb8438044dbc0aca328d3ab.tar.gz webtools.dali-8d9a7ced3584cbe2cbb8438044dbc0aca328d3ab.tar.xz webtools.dali-8d9a7ced3584cbe2cbb8438044dbc0aca328d3ab.zip |
[272195] problems with JAR properties
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/binary/BinaryPersistentAttribute.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/binary/BinaryPersistentAttribute.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/binary/BinaryPersistentAttribute.java index 2734c5165f..1a0cdb8319 100644 --- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/binary/BinaryPersistentAttribute.java +++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/resource/java/binary/BinaryPersistentAttribute.java @@ -569,6 +569,10 @@ final class BinaryPersistentAttribute } public String getReturnTypeName() { + return Signature.toString(this.getReturnTypeSignature()); + } + + private String getReturnTypeSignature() { try { return this.method.getReturnType(); } catch (JavaModelException ex) { @@ -604,7 +608,7 @@ final class BinaryPersistentAttribute for (IMethod sibling : this.getSiblings()) { String[] parmTypes = sibling.getParameterTypes(); if ((parmTypes.length == 1) - && parmTypes[0].equals(parameterTypeName) + && Signature.toString(parmTypes[0]).equals(parameterTypeName) && sibling.getElementName().equals(name)) { return new JPTToolsAdapter(sibling); } |