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) |
static void |
specialise(List<SpecialisationGenerator.Substitution> substitutions,
String packageName,
String srcClassName,
String srcDirName,
String dstDirName)
Specialise a class replacing int types based on
SpecialisationGenerator.Substitution s. |
public static void main(String[] args) throws IOException
IOException
public static void specialise(List<SpecialisationGenerator.Substitution> substitutions, String packageName, String srcClassName, String srcDirName, String dstDirName) throws IOException
SpecialisationGenerator.Substitution
s.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-2020 Real Logic Limited. All Rights Reserved.