Package org.eolang.jeo.improvement
Class BytecodeFootprint
- java.lang.Object
-
- org.eolang.jeo.improvement.BytecodeFootprint
-
- All Implemented Interfaces:
Improvement
public final class BytecodeFootprint extends Object implements Improvement
Footprint of the representations as bytecode classes.- Since:
- 0.1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.jeo.Improvement
Improvement.Dummy, Improvement.Mock
-
-
Constructor Summary
Constructors Constructor Description BytecodeFootprint(Path target)
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
-
BytecodeFootprint
public BytecodeFootprint(Path target)
Constructor.- Parameters:
target
- Where to save the bytecode classes.
-
-
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.
-
-