func = new MethodCallFunction(method);
func = new MethodCallFunction(method);
messagecon.addConstraint(new LiteralReturnValueConstraint(null, new FunctionCall(new MethodCallFunction(method3), new Object[]{null, Variable.STATE, rawmsg, rcapa}), IOperator.NOTEQUAL)); paramcon.addConstraint(new BoundConstraint(OAVBDIMetaModel.modelelement_has_name, paramname)); paramcon.addConstraint(new BoundConstraint(null, params, IOperator.CONTAINS)); paramcon.addConstraint(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method0), new Object[]{null, Variable.STATE, paramname, mevent, rawmsg, rcapa}))); paramsetcon.addConstraint(new BoundConstraint(OAVBDIMetaModel.modelelement_has_name, paramsetname)); paramsetcon.addConstraint(new BoundConstraint(null, paramsets, IOperator.CONTAINS)); paramsetcon.addConstraint(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method1), new Object[]{null, Variable.STATE, paramsetname, mevent, rawmsg, rcapa}))); catch(Exception e){e.printStackTrace();} TestCondition matchcon = new TestCondition(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method2), new Object[]{null, Variable.STATE, rcapa, rawmsg, matchexp})));
paramcon.addConstraint(new BoundConstraint(OAVBDIMetaModel.modelelement_has_name, paramname)); paramcon.addConstraint(new BoundConstraint(null, params, IOperator.CONTAINS)); paramcon.addConstraint(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method0), new Object[]{null, Variable.STATE, paramname, mevent, rawmsg, rcapa}))); paramsetcon.addConstraint(new BoundConstraint(OAVBDIMetaModel.modelelement_has_name, paramsetname)); paramsetcon.addConstraint(new BoundConstraint(null, paramsets, IOperator.CONTAINS)); paramsetcon.addConstraint(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method1), new Object[]{null, Variable.STATE, paramsetname, mevent, rawmsg, rcapa}))); catch(Exception e){e.printStackTrace();} TestCondition matchcon = new TestCondition(new PredicateConstraint(new FunctionCall(new MethodCallFunction(method2), new Object[]{null, Variable.STATE, rcapa, rawmsg, matchexp})));
valuesource = new FunctionCall(new MethodCallFunction(mc.getMethod()), paramsources); type = context.getTypeModel().getJavaType(mc.getMethod().getReturnType()); valuesource = new FunctionCall(new MethodCallFunction(mc.getMethod()), paramsources);
valuesource = new FunctionCall(new MethodCallFunction(mc.getMethod()), paramsources); type = context.getTypeModel().getJavaType(mc.getMethod().getReturnType()); valuesource = new FunctionCall(new MethodCallFunction(mc.getMethod()), paramsources);