MCPcopy Create free account
hub / github.com/golang/mobile / implicitFuncTypes

Method implicitFuncTypes

internal/importers/java/java.go:676–687  ·  view source on GitHub ↗
(f *Func)

Source from the content-addressed store, hash-verified

674}
675
676func (j *Importer) implicitFuncTypes(f *Func) []string {
677 var unk []string
678 if rt := f.Ret; rt != nil && rt.Kind == Object {
679 unk = append(unk, rt.Class)
680 }
681 for _, t := range f.Params {
682 if t.Kind == Object {
683 unk = append(unk, t.Class)
684 }
685 }
686 return unk
687}
688
689func (j *Importer) unknownImplicitClasses(cls *Class, set map[string]struct{}) {
690 for _, fsets := range [][]*FuncSet{cls.Funcs, cls.Methods} {

Callers 2

ImportMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected