[BUG #8350] don't treat methods without sourceClass as factories