public class ResourceCompilationUnit extends java.lang.Object implements ICompilationUnit
JAR_FILE_ENTRY_SEPARATOR| Constructor and Description |
|---|
ResourceCompilationUnit(IFile file) |
| 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[][] |
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.
|
public 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 ICompilationUnit