bugfix for classes with a single method

classes with a single method were incorrectly identified as SAMs. bugfix