@Override
 public void validate() throws CoreException {
   final JaxrsResource resource = getElement();
   JaxrsMetamodelValidator.deleteJaxrsMarkers(resource);
   Logger.debug("Validating element {}", getElement());
   for (IJaxrsResourceMethod resourceMethod : resource.getAllMethods()) {
     new JaxrsResourceMethodValidatorDelegate(
             getMarkerManager(), (JaxrsResourceMethod) resourceMethod)
         .validate();
   }
 }
コード例 #2
0
 /**
  * Outputs a debug message in the trace file (not the error view of the runtime workbench). Traces
  * must be activated for this plugin in order to see the output messages.
  *
  * @param message the message to trace.
  */
 public static void debug(final String message) {
   debug(message, (Object[]) null);
 }