SONARJAVA-154 Extract LabelsVisitor from ThirdPass