When I'm writing a new check I often use a statement
log(aAST.getLineNo(), aAST.getColumnNo(), "an.error");
for logging and when I look at other checks it seems
that this occurs quite frequently. Would it be possible to
add a method in the APIs Check.java class in the form of
void log(DetailAST aAST, String aError)
log(aAST.getLineNo(), aAST.getColumnNo(), aError);
I think this would look a bit cleaner when writing checks.