code: private boolean isDeprecated( JavaMethod method )
      {
          if ( method == null )
              return false;
  
          for ( Annotation annotation : method.getAnnotations() )
          {
              if ( "java.lang.Deprecated".equals( annotation.getType().getFullyQualifiedName() ) )
              {
                  return true;
              }
          }
  
          return method.getTagByName( "deprecated" ) != null;
      }
docs: Determine if a client service method is deprecated.
  
  @see MGWT-352