// NewSetClaimReference returns a NewMethod that writes a SetClaimReference
// method for the supplied Object to the supplied file.
NewSetClaimReference returns a NewMethod that writes a SetClaimReference
method for the supplied Object to the supplied file.
// NewSetClaimReference returns a NewMethod that writes a SetClaimReference // method for the supplied Object to the supplied file .
func NewSetClaimReference(receiver, core string) New {
	return func(f *jen.File, o types.Object) {
		f.Commentf("SetClaimReference of this %s.", o.Name())
		f.Func().Params(jen.Id(receiver).Op("*").Id(o.Name())).Id("SetClaimReference").Params(jen.Id("r").Op("*").Qual(core, "ObjectReference")).Block(
			jen.Id(receiver).Dot(fields.NameSpec).Dot("ClaimReference").Op("=").Id("r"),
		)
	}
}
func NewSetClaimReference ( receiver , core string ) New { return func ( f * jen . File , o types . Object ) { f . Commentf ( " " , o . Name ( ) ) f . Func ( ) . Params ( jen . Id ( receiver ) . Op ( " " ) . Id ( o . Name ( ) ) ) . Id ( " " ) . Params ( jen . Id ( " " ) . Op ( " " ) . Qual ( core , " " ) ) . Block ( jen . Id ( receiver ) . Dot ( fields . NameSpec ) . Dot ( " " ) . Op ( " " ) . Id ( " " ) , ) } }
NewSetClaimReference returns a NewMethod that writes a SetClaimReference
method for the supplied Object to the supplied file.
NewSetClaimReference returns a NewMethod that writes a SetClaimReference method for the supplied Object to the supplied file .