Class SpecificationCollection

java.lang.Object
randoop.condition.SpecificationCollection
All Implemented Interfaces:
Closeable, AutoCloseable

public class SpecificationCollection extends Object implements Closeable
A collection of OperationSpecification objects, indexed by AccessibleObject reflection objects. Only represents methods that have a specification.

The SpecificationCollection should be constructed from the specification input before the OperationModel is created.

This class stores the OperationSpecification objects, and only constructs the corresponding ExecutableSpecification on demand. This lazy strategy avoids building condition methods for specifications that are not used.