Author: scabanovich
Date: 2007-07-16 10:18:12 -0400 (Mon, 16 Jul 2007)
New Revision: 2443
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/ComponentBuilder.java
Log:
EXIN-217 Merge of component methods improved
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/ComponentBuilder.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/ComponentBuilder.java 2007-07-16
11:59:25 UTC (rev 2442)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/java/ComponentBuilder.java 2007-07-16
14:18:12 UTC (rev 2443)
@@ -167,7 +167,9 @@
ValueInfo scope = ValueInfo.getValueInfo(main, "scope");
if(scope != null) att.setScope(scope);
- att.setSourceMember(findMethod(m));
+ IMethod im = findMethod(m);
+ att.setSourceMember(im);
+ att.setId(im);
}
for (AnnotatedASTNode<FieldDeclaration> n: annotatedFields) {
@@ -202,7 +204,9 @@
ValueInfo scope = ValueInfo.getValueInfo(main, "scope");
if(scope != null) att.setScope(scope);
- att.setSourceMember(findField(m));
+ IField f = findField(m);
+ att.setSourceMember(f);
+ att.setId(f);
}
}
@@ -218,7 +222,9 @@
component.addMethod(cm);
MethodDeclaration m = n.getNode();
component.addMethod(cm);
- cm.setSourceMember(findMethod(m));
+ IMethod im = findMethod(m);
+ cm.setSourceMember(im);
+ cm.setId(im);
}
cm.getTypes().add(type);
}