SONARJAVA-478 : Remove some usage of ASTNode in FirstPass