// NewGetNonPortableClassReference returns a NewMethod that writes a
// GetNonPortableClassReference method for the supplied Object to the supplied
// file.
NewGetNonPortableClassReference returns a NewMethod that writes a
GetNonPortableClassReference method for the supplied Object to the supplied
file.
// NewGetNonPortableClassReference returns a NewMethod that writes a // GetNonPortableClassReference method for the supplied Object to the supplied // file .
func NewGetNonPortableClassReference(receiver, core string) New {
	return func(f *jen.File, o types.Object) {
		f.Commentf("GetNonPortableClassReference of this %s.", o.Name())
		f.Func().Params(jen.Id(receiver).Op("*").Id(o.Name())).Id("GetNonPortableClassReference").Params().Op("*").Qual(core, "ObjectReference").Block(
			jen.Return(jen.Id(receiver).Dot(fields.NameSpec).Dot("NonPortableClassReference")),
		)
	}
}
func NewGetNonPortableClassReference ( 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 ( ) . Op ( " " ) . Qual ( core , " " ) . Block ( jen . Return ( jen . Id ( receiver ) . Dot ( fields . NameSpec ) . Dot ( " " ) ) , ) } }
NewGetNonPortableClassReference returns a NewMethod that writes a
GetNonPortableClassReference method for the supplied Object to the supplied
file.
NewGetNonPortableClassReference returns a NewMethod that writes a GetNonPortableClassReference method for the supplied Object to the supplied file .