public class PossibleMatch extends java.lang.Object implements ICompilationUnit
| Modifier and Type | Field and Description |
|---|---|
char[][] |
compoundName |
SearchDocument |
document |
static char[] |
NO_SOURCE_FILE |
static java.lang.String |
NO_SOURCE_FILE_NAME |
MatchingNodeSet |
nodeSet |
Openable |
openable |
IResource |
resource |
JAR_FILE_ENTRY_SEPARATOR| Constructor and Description |
|---|
PossibleMatch(MatchLocator locator,
IResource resource,
Openable openable,
SearchDocument document,
boolean mustResolve) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
boolean |
equals(java.lang.Object obj) |
char[] |
getContents()
Answer the contents of the compilation unit.
|
char[] |
getFileName()
The exact openable file name.
|
char[] |
getMainTypeName()
Answer the name of the top level public type.
|
char[][] |
getPackageName()
Answer the name of the package according to the directory structure
or null if package consistency checks should be ignored.
|
int |
hashCode() |
boolean |
ignoreOptionalProblems()
Answer if optional problems should be ignored for this compilation unit.
|
java.lang.String |
toString() |
public static final java.lang.String NO_SOURCE_FILE_NAME
public static final char[] NO_SOURCE_FILE
public IResource resource
public Openable openable
public MatchingNodeSet nodeSet
public char[][] compoundName
public SearchDocument document
public PossibleMatch(MatchLocator locator, IResource resource, Openable openable, SearchDocument document, boolean mustResolve)
public void cleanUp()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic char[] getContents()
ICompilationUnitgetContents in interface ICompilationUnitpublic char[] getFileName()
public char[] getMainTypeName()
ICompilationUnitgetMainTypeName in interface ICompilationUnitpublic char[][] getPackageName()
ICompilationUnitgetPackageName in interface ICompilationUnitpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean ignoreOptionalProblems()
ICompilationUnitfalse if there is no preference.ignoreOptionalProblems in interface ICompilationUnitpublic java.lang.String toString()
toString in class java.lang.Object