code: public static boolean isVisibilityBridgeMethodPair(Method bridgeMethod, Method bridgedMethod) {
  		if (bridgeMethod == bridgedMethod) {
  			return true;
  		}
  		return (Arrays.equals(bridgeMethod.getParameterTypes(), bridgedMethod.getParameterTypes()) &&
  				bridgeMethod.getReturnType().equals(bridgedMethod.getReturnType()));
  	}
docs: 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