pattern.addConstraint( fieldBindingDescr );
fieldBindingDescr = new FieldBindingDescr( "price",
"y" );
pattern.addConstraint( fieldBindingDescr );
packageDescr.addGlobal( new GlobalDescr( "map",
"java.util.Map" ) );
final FieldConstraintDescr returnValue = new FieldConstraintDescr( "price" );
returnValue.addRestriction( new ReturnValueRestrictionDescr( "==",
"(( (Integer) map.get( new Integer( x )) ).intValue() * y)" ) );