String idForMethod(Object classInstance, Symbol methodSymbol)

Source

static String idForMethod(Object classInstance, Symbol methodSymbol) {
  return "${MirrorSystem.getName(reflect(classInstance).type.simpleName)}.${MirrorSystem.getName(methodSymbol)}";
}