in_sOCLTypeId, oContextClass, oContextClass));
oTCGOCLExpression = oTCGIfExp;
}
else if(in_oExpression instanceof EnumLiteralExp)
{
EnumLiteralExp oEnumExp = (EnumLiteralExp)in_oExpression;
TCGOCLAtom oAtom = GeneratedFactory.eINSTANCE.createTCGOCLAtom();
// do not use the directly referenced property but the property closest to the given context
// oAtom.setElement((EObject)TestCaseGraphHelper.findMatchingPropertyInContext(
// oEnumExp.getReferredEnumLiteral(), oContextClass));
oAtom.setElement(oEnumExp.getReferredEnumLiteral());
oTCGOCLExpression = oAtom;
oTCGOCLExpression.setClassification(VariableClassification.INDEPENDENT);
}
else if(in_oExpression instanceof BooleanLiteralExp) {
BooleanLiteralExp oBooleanExp = (BooleanLiteralExp)in_oExpression;