Reports incorrect @EventListener methods.
Example:
@Configuration @ComponentScan
open class Config
data class MyEvent(val string: String)
@Component
class LogComponent {
@EventListener // Method annotated with @EventListener must be public
private fun logCommands(commandName: MyEvent) {}
@EventListener // Method must have maximum one parameter
fun processCommand(commandName: MyEvent, text: String) {}
}