Let's say I have a method:
void method() {
int i = 5;
}
I want to insert a statement at the very beginning of that method, between { and int i = 5;. How do I do that with javaparser? When visiting methods, ASTHelper.addStmt(..) inserts the statement at the end of the method.