JBIDE-17734 - NPE when creating JAX-RS resource using undefined/empty Bean class

Fixed, for undefined type on method parameters, resource fields and resource properties