@@ -0,0 +1,1978 @@
+/*%0A * Copyright 2018 Red Hat, Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.jboss.shamrock.jaxrs.runtime.graal;%0A%0Aimport com.oracle.svm.core.annotate.Substitute;%0Aimport com.oracle.svm.core.annotate.TargetClass;%0Aimport org.w3c.dom.Document;%0A%0Aimport javax.ws.rs.WebApplicationException;%0Aimport javax.ws.rs.core.MediaType;%0Aimport javax.ws.rs.core.MultivaluedMap;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.OutputStream;%0Aimport java.lang.annotation.Annotation;%0Aimport java.lang.reflect.Type;%0A%0A@TargetClass(className = %22org.jboss.resteasy.plugins.providers.DocumentProvider%22)%0Afinal class DeleteDocumentProvider %7B%0A%0A    @Substitute%0A    public boolean isReadable(Class%3C?%3E clazz, Type type, Annotation%5B%5D annotation, MediaType mediaType) %7B%0A        return false;%0A    %7D%0A%0A    @Substitute%0A    public Document readFrom(Class%3CDocument%3E clazz, Type type, Annotation%5B%5D annotations, MediaType mediaType, MultivaluedMap%3CString, String%3E headers, InputStream input) throws IOException, WebApplicationException %7B%0A        return null;%0A    %7D%0A%0A    @Substitute%0A    public boolean isWriteable(Class%3C?%3E clazz, Type type, Annotation%5B%5D annotation, MediaType mediaType) %7B%0A        return false;%0A    %7D%0A%0A    @Substitute%0A    public void writeTo(Document document, Class%3C?%3E clazz, Type type, Annotation%5B%5D annotation, MediaType mediaType, MultivaluedMap%3CString, Object%3E headers, OutputStream output) throws IOException, WebApplicationException %7B%0A%0A    %7D%0A%7D%0A

Remove DocumentProvider from native image