Fixed bug #19997 : Class names incorrectly detected as constants