added a validation check for broken methods that contain neither a return nor a throw statement. Such methods make toDex fail with a NullPointerException which is somewhat hard to debug