reflect.Type.NumMethod (method)

13 uses

	reflect (current package)
		type.go#L79: 	NumMethod() int
		value.go#L3531: 	if typ.NumMethod() == 0 {

	encoding/asn1
		asn1.go#L683: 	if ifaceType := fieldType; ifaceType.Kind() == reflect.Interface && ifaceType.NumMethod() == 0 {
		marshal.go#L581: 	if v.Kind() == reflect.Interface && v.Type().NumMethod() == 0 {

	encoding/json
		decode.go#L479: 		if v.Type().NumMethod() > 0 && v.CanInterface() {

	github.com/go-pg/pg/v10/orm
		table.go#L521: 	for i := 0; i < typ.NumMethod(); i++ {

	github.com/google/go-cmp/cmp
		options.go#L166: 		if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
		options.go#L294: 	if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {
		options.go#L353: 	if ti := v.Type().In(0); ti.Kind() != reflect.Interface || ti.NumMethod() > 0 {

	github.com/google/go-cmp/cmp/internal/value
		name.go#L140: 		for i := 0; i < t.NumMethod(); i++ {

	go.uber.org/mock/gomock
		controller.go#L172: 	for i := 0; i < recv.Type().NumMethod(); i++ {

	text/template
		exec.go#L534: 		if value.Kind() == reflect.Interface && value.Type().NumMethod() == 0 {
		exec.go#L965: 		if typ.NumMethod() == 0 {