Package org.eolang.jeo.improvement
Class ImprovementEoFootprint
- java.lang.Object
-
- org.eolang.jeo.improvement.ImprovementEoFootprint
-
- All Implemented Interfaces:
Improvement
public final class ImprovementEoFootprint extends Object implements Improvement
It's not actually an improvement. It's just a class that prints all the generated .xmir files as .eo files for convenience.- Since:
- 0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.jeo.Improvement
Improvement.Dummy, Improvement.Mock
-
-
Constructor Summary
Constructors Constructor Description ImprovementEoFootprint(Path generated)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends Representation>
apply(Collection<? extends Representation> representations)
Apply the improvement.
-
-
-
Constructor Detail
-
ImprovementEoFootprint
public ImprovementEoFootprint(Path generated)
Constructor.- Parameters:
generated
- Where to save the EO, usually it's target/generated-sources folder.
-
-
Method Detail
-
apply
public Collection<? extends Representation> apply(Collection<? extends Representation> representations)
Description copied from interface:Improvement
Apply the improvement.- Specified by:
apply
in interfaceImprovement
- Parameters:
representations
- IRs to optimize.- Returns:
- Optimized IRs.
-
-