public interface ICompilationUnit extends IDependent
Note: This internal interface has been implemented illegally by the org.apache.jasper.glassfish bundle from Orbit, see bug 500211. Avoid changing the API or supply default methods to avoid breaking the Eclipse Help system.
JAR_FILE_ENTRY_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
char[] |
getContents()
Answer the contents of the compilation unit.
|
default java.lang.String |
getDestinationPath() |
char[] |
getMainTypeName()
Answer the name of the top level public type.
|
default 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.
|
default boolean |
ignoreOptionalProblems()
Answer if optional problems should be ignored for this compilation unit.
|
default ModuleBinding |
module(LookupEnvironment environment)
Returns the binding of the module that this compilation unit is associated with.
|
getFileNamechar[] getContents()
char[] getMainTypeName()
char[][] getPackageName()
default boolean ignoreOptionalProblems()
false if there is no preference.default ModuleBinding module(LookupEnvironment environment)
default char[] getModuleName()
null signals the unnamed module.null for the unnamed module.default java.lang.String getDestinationPath()