MCPcopy Create free account
hub / github.com/google/gapid / FindBySignature

Method FindBySignature

core/java/jdwp/field.go:54–61  ·  view source on GitHub ↗

FindBySignature returns the field with the matching signature in l, or nil if no field with a matching signature is found in l.

(name, sig string)

Source from the content-addressed store, hash-verified

52// FindBySignature returns the field with the matching signature in l, or nil
53// if no field with a matching signature is found in l.
54func (l Fields) FindBySignature(name, sig string) *Field {
55 for _, f := range l {
56 if f.Name == name && f.Signature == sig {
57 return &f
58 }
59 }
60 return nil
61}
62
63// FindByID returns the field with the matching identifier in l, or nil if no
64// field with a matching identifier is found in l.

Callers 3

GetClassMethodMethod · 0.45
TestInvokeStaticMethodFunction · 0.45
TestInvokeMethodFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestInvokeStaticMethodFunction · 0.36
TestInvokeMethodFunction · 0.36