net.sf.daileon.notsupported
Class ClassTransformer
java.lang.Object
net.sf.daileon.notsupported.ClassTransformer
class ClassTransformer
- extends Object
The ClassTransformer is responsible for triggering the process
of translating the domain annotations of a particular class.
- Version:
- 1.0 01/01/2010
- Author:
- Roberto Perillo
|
Method Summary |
(package private) void |
transform(String path,
String annotatedClass)
Triggers the process translating the domain annotations of a given
class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassTransformer
ClassTransformer()
- Class constructor.
transform
void transform(String path,
String annotatedClass)
- Triggers the process translating the domain annotations of a given
class.
- Parameters:
path - The physical path to the class containing the domain
annotations, excluding its package. For instance, if a class
called com.project.MyClass is located at
C:\MyProject, then the physical path is
C:\MyProject.annotatedClass - The fully-qualified name of the class whose domain annotations
shall be evaluated.
- Throws:
RuntimeException - If any problem occur when trying to read the class that
contains the domain annotations, or when trying to write the
classes with the domain annotations translated.