NamedElement el = (NamedElement) ref2.getTarget();
String name = el.getName();
LocalVariable var = (LocalVariable) ref.getTarget();
if (var.getValue() instanceof ProcessingElementInstance) {
ProcessingElementInstance inst = (ProcessingElementInstance) var
.getValue();
if (inst != null) {
for (ProcessingElementParameter pp : inst
.getProcessingElementParameters()) {
if (pp.getName().equals(name)
&& pp instanceof Output) {
ref2.setTarget(pp);
}
}
}
}
}
}
}
if (exp.getValue() instanceof IdentifierReference) {
IdentifierReference ref = (IdentifierReference) exp.getValue();
if (ref.getNext() instanceof IdentifierReference) {
IdentifierReference ref2 = (IdentifierReference) ref
.getNext();
if (ref2.getTarget() instanceof NamedElement) {
NamedElement el = (NamedElement) ref2.getTarget();
String name = el.getName();
LocalVariable var = (LocalVariable) ref.getTarget();
if (var.getValue() instanceof ProcessingElementInstance) {
ProcessingElementInstance inst = (ProcessingElementInstance) var
.getValue();
if (inst != null) {
for (ProcessingElementParameter pp : inst