}
for (Iterator iter2 = var.iterator(); iter2.hasNext();) {
Object obj = iter2.next();
if (obj instanceof ImperativeOperation) {
ImperativeOperation imp = (ImperativeOperation) obj;
if ((imp.getContext() != null)
&& (imp.getContext().getType() != null)
&& (type.getName() != null)
&& (type.getName().equals(imp.getContext()
.getType().getName())))
objects.add(obj);
}
if (obj instanceof ContextualProperty) {
ContextualProperty prop = (ContextualProperty) obj;