|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.jdom.CompilationUnit
public class CompilationUnit
Implements a very simple version of the ICompilationUnit.
Please do not use outside of jdom.
| Field Summary | |
|---|---|
protected char[] |
fContents
|
protected char[] |
fFileName
|
protected char[] |
fMainTypeName
|
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IDependent |
|---|
JAR_FILE_ENTRY_SEPARATOR |
| Constructor Summary | |
|---|---|
CompilationUnit(char[] contents,
char[] filename)
|
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected char[] fContents
protected char[] fFileName
protected char[] fMainTypeName
| Constructor Detail |
|---|
public CompilationUnit(char[] contents,
char[] filename)
| Method Detail |
|---|
public char[] getContents()
ICompilationUnit
getContents in interface ICompilationUnitpublic char[] getFileName()
IDependent
getFileName in interface IDependentIDependent.getFileName()public char[] getMainTypeName()
ICompilationUnit
getMainTypeName in interface ICompilationUnitpublic char[][] getPackageName()
ICompilationUnit
getPackageName in interface ICompilationUnitpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||