public final class SpecialisationGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SpecialisationGenerator.Substitution
Substitution to be performed on each code line.
|
| Constructor and Description |
|---|
SpecialisationGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main method.
|
static void |
specialise(List<SpecialisationGenerator.Substitution> substitutions,
String packageName,
String srcClassName,
String srcDirName,
String dstDirName)
Specialise a class replacing int types based on
SpecialisationGenerator.Substitutions. |
public static void main(String[] args) throws IOException
args - command line args.IOException - in case of I/O error.public static void specialise(List<SpecialisationGenerator.Substitution> substitutions, String packageName, String srcClassName, String srcDirName, String dstDirName) throws IOException
SpecialisationGenerator.Substitutions.substitutions - to be applied.packageName - for the source and destination classes.srcClassName - to be specialised.srcDirName - containing the source file.dstDirName - for where the generated file should be stored.IOException - if an error occurs.Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.