public static boolean isBridgeMethod(Method someMethod){
  TraitBridge annotation=someMethod.getAnnotation(TraitBridge.class);
  return annotation != null;
}

public static boolean isBridgeMethod ( Method someMethod ) { TraitBridge annotation = someMethod . getAnnotation ( TraitBridge . class ) ; return annotation != null ; }
reflection api to indicate whether some method is a bridge method to the default implementation of a trait .
