# Java Search Delegate

###### Identifier:

org.eclipse.jdt.core.javaSearchDelegate

###### Since:

3.38

###### Description:

This extension point provides the ability to replace the Java Search functionality. The resolver will be instantiated on-demand based on the value of the system property `IJavaSearchDelegate`, which must be set to the id of an implementing extension. This extension point is not intended to be implemented by clients. This extension point is not considered API. This extension point may be modified or removed at any moment.

###### Configuration Markup:

<!ELEMENT extension (searchDelegate?)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT searchDelegate EMPTY>

<!ATTLIST searchDelegate

class CDATA #REQUIRED

id CDATA #REQUIRED>

Definition of a Java Search Delegate.

- class - The class that implements this Java Search Delegate. This class must implement the `org.eclipse.jdt.core.search.IJavaSearchDelegate` interface with a public 0-arg constructor.
- id - A unique identifier for this search delegate

###### Examples:

Example of a declaration of a `IJavaSearchDelegate`:

    <extension
          point="org.eclipse.jdt.core.javaSearchDelegate">
       <resolver
             class="org.eclipse.jdt.core.MySearchDelegate"
             id="org.eclipse.jdt.core.MySearchDelegate">
       </resolver>
    </extension>

Copyright (c) 2025 Red Hat, Inc. and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0