Package daikon
Class MergeInvariants
- Object
-
- MergeInvariants
-
public final class MergeInvariants extends Object
Merges invariants from multiple invariant files into a single invariant file. It does this by forming a hierarchy over the ppts from each invariant file and using the normal hierarchy merging code to merge the invariants.The ppts from each invariant file are merged to create a single ppt map that contains the ppts from all of the files. At each leaf of the merged map, a hierarchy is formed to the ppts from each of the input files.
-
-
Field Summary
Fields Modifier and Type Field Description static Logger
debug
Debug logger.static Logger
debugProgress
Progress logger.static @Nullable File
output_inv_file
The file in which to produce output; if null, the results are printed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
static void
mainHelper(String[] args)
This does the work ofmain(String[])
, but it never calls System.exit, so it is appropriate to be called progrmmatically.
-
-
-
Field Detail
-
debugProgress
public static final Logger debugProgress
Progress logger.
-
output_inv_file
public static @Nullable File output_inv_file
The file in which to produce output; if null, the results are printed.
-
-
Method Detail
-
main
public static void main(String[] args) throws FileNotFoundException, StreamCorruptedException, OptionalDataException, IOException, ClassNotFoundException
-
mainHelper
public static void mainHelper(String[] args) throws FileNotFoundException, StreamCorruptedException, OptionalDataException, IOException, ClassNotFoundException
This does the work ofmain(String[])
, but it never calls System.exit, so it is appropriate to be called progrmmatically.- Parameters:
args
- the command-line arguments- Throws:
FileNotFoundException
- if a file cannot be foundStreamCorruptedException
- if a stream is corruptedOptionalDataException
- if there is a serialization problemIOException
- if there is trouble with I/OClassNotFoundException
- if a class cannot be found
-
-