if (parent.getClass() == LabeledStatement.class) {
return;
}
if (parent.hasChildren()) {
parent.addChildBefore(newInstrumentationNode(getActualLineNumber(node)), node);
} else {
// if, else, while, do, for without {} around their respective 'blocks' for some reason
// don't have children. Meh. Creating blocks to ease instrumentation.
final Block block = newInstrumentedBlock(node);