TupleHandler tupleHandler = null;
boolean required = false;
if (scalar != null)
{
tupleRule = createScalarRule(declaredField, scalar);
tupleHandler = createHandler(scalar.handler(), scalar.alias(), ScalarNode.class);
required = scalar.required();
}
else if (mapping != null)
{
tupleRule = createMappingRule(declaredField, mapping);