spring-framework / org.springframework.core / BridgeMethodResolver / isVisibilityBridgeMethodPair

isVisibilityBridgeMethodPair

open static fun isVisibilityBridgeMethodPair(bridgeMethod: Method, bridgedMethod: Method): Boolean

Compare the signatures of the bridge method and the method which it bridges. If the parameter and return types are the same, it is a 'visibility' bridge method introduced in Java 6 to fix http://bugs.sun.com/view_bug.do?bug_id=6342411. See also http://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html

Return
whether signatures match as described