throw new Error(e);
}
}
private static String erlangNameOfMethod(Method method) {
BIF bif_ann = method.getAnnotation(BIF.class);
if (bif_ann != null) {
String bif_name = bif_ann.name().equals("__SELFNAME__") ? method.getName() : bif_ann.name();
if (bif_ann.type() == BIF.Type.GUARD) return bif_name + "\1";
else return bif_name;
} else {
return method.getName();
}
}