#1 Added a check for generic methods in order to inspect method modifiers correctly.