methodSignatureForSelector
A method signature is a formal specification that identifies a method by its essential elements, typically including the method name and the number and types of its parameters. It functions as the unique identifier used by a compiler or runtime to resolve which method to invoke when a call is made. The signature is distinct from the method body and, in many languages, from the return type.
In most languages, the signature comprises the method name and the ordered list of parameter types (and
Language-specific rules vary. For example, Java uses the method name plus parameter types to form the signature,
Understanding signatures is important for API design, reflection, and debugging. Changing a signature is typically a