spring-framework / org.springframework.core / BridgeMethodResolver / <init>

<init>

BridgeMethodResolver()

Helper for resolving synthetic bridge Methods to the Method being bridged.

Given a synthetic bridge Method returns the Method being bridged. A bridge method may be created by the compiler when extending a parameterized type whose methods have parameterized arguments. During runtime invocation the bridge Method may be invoked and/or used via reflection. When attempting to locate annotations on Method, it is wise to check for bridge Method as appropriate and find the bridged Method.

See The Java Language Specification for more details on the use of bridge methods.

Author
Rob Harrop

Author
Juergen Hoeller

Author
Phillip Webb

Since
2.0