mPE.addAssertion(with.getExpressionAssertion());
}
break;
case GENERIC_PE:
{
ProcessingElementTypeType type = ((PETypeStrategy)strategy).getPEType();
mPE = new ProcessingElementType();
mPE.setDescriptor(type.getDescriptor());
mPE.setName(qualifiedName);
mType = type;
mExecutionState.getVariables().put(mName, new Variable(type, mPE));
mExecutionState.getUsedProcessingElements().registerType(qualifiedName, mPE);
mExecutionState.getNamespaceManager().addUsingDeclaration(qualifiedName);
break;
}
case CONNECTION:
{
SType stype = ((ConnectionTypeStrategy)strategy).getSType();
ConnectionType type = new ConnectionType();
type.setSType(stype);
mExecutionState.getUsedProcessingElements().registerType(
qualifiedName, type);
mExecutionState.getNamespaceManager().addUsingDeclaration(qualifiedName);
break;
}