java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.SearchPattern
org.aspectj.org.eclipse.jdt.internal.core.search.matching.OrPattern
Alle implementierten Schnittstellen:
Cloneable, IParallelizable, IIndexConstants

public class OrPattern extends SearchPattern implements IIndexConstants, IParallelizable, Cloneable
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • findIndexMatches

      public void findIndexMatches(Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
      Beschreibung aus Klasse kopiert: SearchPattern
      Query a given index for matching entries. Assumes the sender has opened the index and will close when finished.
      Setzt außer Kraft:
      findIndexMatches in Klasse SearchPattern
      Löst aus:
      IOException
    • findIndexMatches

      public void findIndexMatches(Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentName, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
      Beschreibung aus Klasse kopiert: SearchPattern
      Query a given index for matching entries. Assumes the sender has opened the index and will close when finished. This API provides a flag to control whether to skip resolving document name for the matching entries. If a SearchPattern subclass has a different implementation of index matching, they have to override this API to support document name resolving feature.
      Setzt außer Kraft:
      findIndexMatches in Klasse SearchPattern
      Parameter:
      index - the target index to query
      requestor - the search requestor
      participant - the search participant
      scope - the search scope where the search results should be found
      resolveDocumentName - whether to skip the document name resolving for the matching entries
      progressMonitor - a progress monitor
      Löst aus:
      IOException
    • getBlankPattern

      public SearchPattern getBlankPattern()
      Beschreibung aus Klasse kopiert: SearchPattern
      Returns a blank pattern that can be used as a record to decode an index key.

      Implementors of this method should return a new search pattern that is going to be used to decode index keys.

      Angegeben von:
      getBlankPattern in Klasse SearchPattern
      Gibt zurück:
      a new blank pattern
      Siehe auch:
    • isPolymorphicSearch

      public boolean isPolymorphicSearch()
      Setzt außer Kraft:
      isPolymorphicSearch in Klasse SearchPattern
    • hasPackageDeclaration

      public final boolean hasPackageDeclaration()
      Returns whether the pattern has one or several package declaration or not.
      Gibt zurück:
      true if one at least of the stored pattern is a package declaration pattern (PackageDeclarationPattern), false otherwise.
    • hasSignatures

      public final boolean hasSignatures()
      Returns whether the pattern has signatures or not.
      Gibt zurück:
      true if one at least of the stored pattern has signatures.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse SearchPattern
      Siehe auch:
    • isParallelSearchSupported

      public boolean isParallelSearchSupported()
      Beschreibung aus Schnittstelle kopiert: IParallelizable
      Answers true if the current instance supports parallel index search
      Angegeben von:
      isParallelSearchSupported in Schnittstelle IParallelizable
      Gibt zurück:
      Returns true if the implementation is safe to be used in a parallel search.
    • clone

      Setzt außer Kraft:
      clone in Klasse SearchPattern
      Löst aus:
      CloneNotSupportedException