JBIDE-18392 - JAX-RS Resource wizard: Resource methods are created even ...

...though there is no Target entity specified anymore

Fixed the problem by skipping method generation if no target entity was specified
Added a JUnit test to cover that case