ma.glasnost.orika.impl.generator.eclipsejdt
Class CompilationUnit

java.lang.Object
  extended by ma.glasnost.orika.impl.generator.eclipsejdt.CompilationUnit
All Implemented Interfaces:
org.eclipse.jdt.internal.compiler.env.ICompilationUnit, org.eclipse.jdt.internal.compiler.env.IDependent

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


Field Summary
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
 
Constructor Summary
CompilationUnit(java.lang.String source, java.lang.String packageName, java.lang.String simpleClassName)
           
 
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
 

Constructor Detail

CompilationUnit

public CompilationUnit(java.lang.String source,
                       java.lang.String packageName,
                       java.lang.String simpleClassName)
Parameters:
source - the source text from which the class will be compiled
packageName - the name of the package
simpleClassName - this is the name of the class without the package, but including the parent type if the class is a nested class.
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


Copyright © 2012 Glasnost. All Rights Reserved.