Class ConfigurationSetup
- java.lang.Object
-
- org.apache.groovy.contracts.ast.visitor.ConfigurationSetup
-
public class ConfigurationSetup extends Object
Makes some initialization in order to use theConfigurator
for determining which assertions in what packages will be executed.- See Also:
Configurator
-
-
Constructor Summary
Constructors Constructor Description ConfigurationSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(ClassNode type)
Adds an instance field which allows to control whether GContract assertions are enabled or not.
-
-
-
Method Detail
-
init
public void init(ClassNode type)
Adds an instance field which allows to control whether GContract assertions are enabled or not. Before assertions are evaluated this field will be checked.- Parameters:
type
- the currentClassNode
- See Also:
Configurator
-
-