ClassHelper.findSAM will find methods in the parent, so we need to check for the name rather than null.