The constructors and destructors of class should not be checked against methodName since they should follow the class name instead.