org.codehaus.plexus.compiler.eclipse
Class EclipseJavaCompiler.CompilationUnit

java.lang.Object
  extended by org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler.CompilationUnit
All Implemented Interfaces:
org.eclipse.jdt.internal.compiler.env.ICompilationUnit, org.eclipse.jdt.internal.compiler.env.IDependent
Enclosing class:
EclipseJavaCompiler

private class EclipseJavaCompiler.CompilationUnit
extends java.lang.Object
implements org.eclipse.jdt.internal.compiler.env.ICompilationUnit


Field Summary
private  java.lang.String className
           
private  java.util.List errors
           
private  java.lang.String sourceFile
           
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
 
Constructor Summary
EclipseJavaCompiler.CompilationUnit(java.lang.String sourceFile, java.lang.String className, java.util.List errors)
           
 
Method Summary
 char[] getContents()
           
 char[] getFileName()
           
 char[] getMainTypeName()
           
 char[][] getPackageName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private java.lang.String className

sourceFile

private java.lang.String sourceFile

errors

private java.util.List errors
Constructor Detail

EclipseJavaCompiler.CompilationUnit

EclipseJavaCompiler.CompilationUnit(java.lang.String sourceFile,
                                    java.lang.String className,
                                    java.util.List errors)
Method Detail

getFileName

public char[] getFileName()
Specified by:
getFileName in interface org.eclipse.jdt.internal.compiler.env.IDependent

getContents

public char[] getContents()
Specified by:
getContents in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit

getMainTypeName

public char[] getMainTypeName()
Specified by:
getMainTypeName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit

getPackageName

public char[][] getPackageName()
Specified by:
getPackageName in interface org.eclipse.jdt.internal.compiler.env.ICompilationUnit