Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'othersrc/OTRE')
-rw-r--r--othersrc/OTRE/src/org/eclipse/objectteams/otre/Decapsulation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/othersrc/OTRE/src/org/eclipse/objectteams/otre/Decapsulation.java b/othersrc/OTRE/src/org/eclipse/objectteams/otre/Decapsulation.java
index c7a5c1980..8442cbdfd 100644
--- a/othersrc/OTRE/src/org/eclipse/objectteams/otre/Decapsulation.java
+++ b/othersrc/OTRE/src/org/eclipse/objectteams/otre/Decapsulation.java
@@ -221,7 +221,7 @@ public class Decapsulation
Iterator<FieldDescriptor> it = getter.iterator();
while (it.hasNext()) {
FieldDescriptor fd = it.next();
- String key = "get_" + fd.getFieldName() + fd.getFieldSignature();
+ String key = "get_" + class_name +"." + fd.getFieldName() + fd.getFieldSignature();
if (logging)
printLogMessage("Generating getter method "+key);
if (addedAccessMethods == null)
@@ -240,7 +240,7 @@ public class Decapsulation
Iterator<FieldDescriptor> it = setter.iterator();
while (it.hasNext()) {
FieldDescriptor fd = it.next();
- String key = "set_"+fd.getFieldName()+fd.getFieldSignature();
+ String key = "set_"+ class_name +"." + fd.getFieldName()+fd.getFieldSignature();
if (logging)
printLogMessage("Generating setter method "+key);
if (addedAccessMethods == null)

Back to the top