java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.PossibleMatch
Alle implementierten Schnittstellen:
ICompilationUnit, IDependent

public class PossibleMatch extends Object implements ICompilationUnit
  • Felddetails

    • NO_SOURCE_FILE_NAME

      public static final String NO_SOURCE_FILE_NAME
      Siehe auch:
    • NO_SOURCE_FILE

      public static final char[] NO_SOURCE_FILE
    • resource

      public org.eclipse.core.resources.IResource resource
    • openable

      public Openable openable
    • nodeSet

      public MatchingNodeSet nodeSet
    • compoundName

      public char[][] compoundName
    • document

      public SearchDocument document
    • autoModuleName

      public String autoModuleName
  • Konstruktordetails

    • PossibleMatch

      public PossibleMatch(MatchLocator locator, org.eclipse.core.resources.IResource resource, Openable openable, SearchDocument document, boolean mustResolve)
  • Methodendetails

    • cleanUp

      public void cleanUp()
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • getContents

      public char[] getContents()
      Beschreibung aus Schnittstelle kopiert: ICompilationUnit
      Answer the contents of the compilation unit. In normal use, the contents are requested twice. Once during the initial lite parsing step, then again for the more detailed parsing step. Implementors must never return null - return an empty char[] instead, CharOperation.NO_CHAR being the candidate of choice.
      Angegeben von:
      getContents in Schnittstelle ICompilationUnit
    • getFileName

      public char[] getFileName()
      The exact openable file name. In particular, will be the originating .class file for binary openable with attached source.
      Angegeben von:
      getFileName in Schnittstelle IDependent
      Siehe auch:
    • getMainTypeName

      public char[] getMainTypeName()
      Beschreibung aus Schnittstelle kopiert: ICompilationUnit
      Answer the name of the top level public type. For example, {Hashtable}.
      Angegeben von:
      getMainTypeName in Schnittstelle ICompilationUnit
    • getPackageName

      public char[][] getPackageName()
      Beschreibung aus Schnittstelle kopiert: ICompilationUnit
      Answer the name of the package according to the directory structure or null if package consistency checks should be ignored. For example, {java, lang}.
      Angegeben von:
      getPackageName in Schnittstelle ICompilationUnit
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • ignoreOptionalProblems

      public boolean ignoreOptionalProblems()
      Beschreibung aus Schnittstelle kopiert: ICompilationUnit
      Answer if optional problems should be ignored for this compilation unit. Implementors should return false if there is no preference.
      Angegeben von:
      ignoreOptionalProblems in Schnittstelle ICompilationUnit
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getModuleName

      public char[] getModuleName()
      Beschreibung aus Schnittstelle kopiert: ICompilationUnit
      Returns the name of the module to which this compilation unit is associated. A return value of null signals the unnamed module.
      Angegeben von:
      getModuleName in Schnittstelle ICompilationUnit
      Gibt zurück:
      module name or null for the unnamed module.