StaticMethodValidator
Checks whether the method to execute is static.
            
                
Construct a StaticMethodValidator.
            
Determines whether a method to execute is static and throws an InvalidOperationException otherwise.