Relation () { if (myOverriddenDefaultRelation != null) { return myOverriddenDefaultRelation; } if (myIsMany || getMainType() instanceof YamlArrayType) { return Relation.SEQUENCE_ITEM; } return getMainType() instanceof YamlScalarType ? Relation.SCALAR_VALUE : Relation.OBJECT_CONTENTS; }