for (ErlangFunction function : file.getFunctions()) {
if (isUnusedFunction(file, function)) {
problemsHolder.registerProblem(function.getNameIdentifier(),
"Unused function " + "'" + function.getName() + "/" + function.getArity() + "'",
ProblemHighlightType.LIKE_UNUSED_SYMBOL,
new ErlangRemoveFunctionFix(),
new ErlangExportFunctionFix());
}
}
}