BeanDefinitionPropertiesCodeGenerator
currently generates setInitMethodNames()/setDestroyMethodNames()
methods with not parameters if only a single AbstractBeanDefinition.INFER_METHOD
method is specified. Although this is harmless, it doesn't look great so we should just not add the statement.