public class ResourceCompilationUnit extends java.lang.Object implements ICompilationUnit
JAR_FILE_ENTRY_SEPARATOR| Constructor and Description |
|---|
ResourceCompilationUnit(IFile file,
char[] mod) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getContents()
Answer the contents of the compilation unit.
|
char[] |
getFileName()
Answer the file name which defines the type.
|
char[] |
getMainTypeName()
Answer the name of the top level public type.
|
char[] |
getModuleName()
Returns the name of the module to which this compilation unit is associated.
|
char[][] |
getPackageName()
Answer the name of the package according to the directory structure
or null if package consistency checks should be ignored.
|
boolean |
ignoreOptionalProblems()
Answer if optional problems should be ignored for this compilation unit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDestinationPath, modulepublic char[] getContents()
ICompilationUnitgetContents in interface ICompilationUnitpublic char[] getFileName()
IDependentgetFileName in interface IDependentpublic char[] getMainTypeName()
ICompilationUnitgetMainTypeName in interface ICompilationUnitpublic char[][] getPackageName()
ICompilationUnitgetPackageName in interface ICompilationUnitpublic boolean ignoreOptionalProblems()
ICompilationUnitfalse if there is no preference.ignoreOptionalProblems in interface ICompilationUnitpublic char[] getModuleName()
ICompilationUnitnull signals the unnamed module.getModuleName in interface ICompilationUnitnull for the unnamed module.