org.objectweb.speedo.generation.recompiler
Class UpToDateVisitor
java.lang.Object
org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.generation.mivisitor.AbstractMetaInfoVisitor
org.objectweb.speedo.generation.mivisitor.MetaInfoVisitorImpl
org.objectweb.speedo.generation.recompiler.UpToDateVisitor
- All Implemented Interfaces:
- GeneratorComponent, MetaInfoVisitor
- public class UpToDateVisitor
- extends MetaInfoVisitorImpl
Checks the date of the source and the built files:
- .jdo / JMI file
- .java / .class
For each .jdo file, if the .jdo or a .java has been modified all classes
are removed in order to re-enhance all classed.
TODO: check aware classes
- Author:
- S.Chassande-Barrioz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpToDateVisitor
public UpToDateVisitor()
- builds a MetaInfoVisitor which is the last of the chain
UpToDateVisitor
public UpToDateVisitor(MetaInfoVisitor mim)
- builds a MetaInfoVisitor which is the last of the chain
getLoggerName
protected java.lang.String getLoggerName()
- Overrides:
getLoggerName
in class AbstractMetaInfoVisitor
init
public boolean init()
throws SpeedoException
- Specified by:
init
in interface GeneratorComponent
- Overrides:
init
in class AbstractMetaInfoVisitor
- Throws:
SpeedoException
visitCompilerParameter
public void visitCompilerParameter(SpeedoCompilerParameter scp)
throws SpeedoException
- Specified by:
visitCompilerParameter
in interface MetaInfoVisitor
- Overrides:
visitCompilerParameter
in class MetaInfoVisitorImpl
- Throws:
SpeedoException
visitXml
public void visitXml(SpeedoXMLDescriptor xml)
throws SpeedoException
- Specified by:
visitXml
in interface MetaInfoVisitor
- Overrides:
visitXml
in class MetaInfoVisitorImpl
- Throws:
SpeedoException
visitClass
public void visitClass(SpeedoClass sc)
throws SpeedoException
- Specified by:
visitClass
in interface MetaInfoVisitor
- Overrides:
visitClass
in class MetaInfoVisitorImpl
- Throws:
SpeedoException