ma.glasnost.orika.impl.generator.eclipsejdt
Class CompilationUnit
java.lang.Object
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
| 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 compiledpackageName - the name of the packagesimpleClassName - this is the name of the class without the package, but including
the parent type if the class is a nested class.
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 © 2014 Glasnost. All Rights Reserved.