module RuboCop::DefinitionValidator