Klasse PossibleMatch
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.PossibleMatch
- Alle implementierten Schnittstellen:
ICompilationUnit
,IDependent
-
Feldübersicht
Modifizierer und TypFeldBeschreibungchar[][]
static final char[]
static final String
org.eclipse.core.resources.IResource
Von Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
-
Konstruktorübersicht
KonstruktorBeschreibungPossibleMatch
(MatchLocator locator, org.eclipse.core.resources.IResource resource, Openable openable, SearchDocument document, boolean mustResolve) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
cleanUp()
boolean
char[]
Answer the contents of the compilation unit.char[]
The exact openable file name.char[]
Answer the name of the top level public type.char[]
Returns the name of the module to which this compilation unit is associated.char[][]
Answer the name of the package according to the directory structure or null if package consistency checks should be ignored.int
hashCode()
boolean
Answer if optional problems should be ignored for this compilation unit.toString()
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.env.ICompilationUnit
getDestinationPath, getExternalAnnotationPath, module
-
Felddetails
-
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
-
nodeSet
-
compoundName
public char[][] compoundName -
document
-
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
-
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 SchnittstelleICompilationUnit
-
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 SchnittstelleIDependent
- 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 SchnittstelleICompilationUnit
-
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 SchnittstelleICompilationUnit
-
hashCode
public int hashCode() -
ignoreOptionalProblems
public boolean ignoreOptionalProblems()Beschreibung aus Schnittstelle kopiert:ICompilationUnit
Answer if optional problems should be ignored for this compilation unit. Implementors should returnfalse
if there is no preference.- Angegeben von:
ignoreOptionalProblems
in SchnittstelleICompilationUnit
-
toString
-
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 ofnull
signals the unnamed module.- Angegeben von:
getModuleName
in SchnittstelleICompilationUnit
- Gibt zurück:
- module name or
null
for the unnamed module.
-