// NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method
// for the supplied Object to the supplied file.
NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method
for the supplied Object to the supplied file.
// NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method // for the supplied Object to the supplied file .
func NewSetBindingPhase(receiver, runtime string) New {
	return func(f *jen.File, o types.Object) {
		f.Commentf("SetBindingPhase of this %s.", o.Name())
		f.Func().Params(jen.Id(receiver).Op("*").Id(o.Name())).Id("SetBindingPhase").Params(jen.Id("p").Qual(runtime, "BindingPhase")).Block(
			jen.Id(receiver).Dot(fields.NameStatus).Dot("SetBindingPhase").Call(jen.Id("p")),
		)
	}
}
func NewSetBindingPhase ( receiver , runtime 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 ( " " ) . Qual ( runtime , " " ) ) . Block ( jen . Id ( receiver ) . Dot ( fields . NameStatus ) . Dot ( " " ) . Call ( jen . Id ( " " ) ) , ) } }
NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method
for the supplied Object to the supplied file.
NewSetBindingPhase returns a NewMethod that writes a SetBindingPhase method for the supplied Object to the supplied file .