code: public void findClients(@Observes @WithAnnotations({RegisterRestClient.class}) ProcessAnnotatedType<?> pat) {
          Class<?> restClient = pat.getAnnotatedType().getJavaClass();
          if (restClient.isInterface()) {
              restClientClasses.add(restClient);
              pat.veto();
          } else {
              errors.add(new IllegalArgumentException("The class " + restClient
                      + " is not an interface"));
          }
      }
docs: Liberty change - removed static