Class PreconditionLifecycle
java.lang.Object
org.apache.groovy.contracts.common.base.BaseLifecycle
org.apache.groovy.contracts.common.impl.lc.PreconditionLifecycle
- All Implemented Interfaces:
Lifecycle
Internal
Lifecycle
implementation for pre-conditions.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterProcessingMethodNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) void
beforeProcessingConstructorNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) Methods inherited from class org.apache.groovy.contracts.common.base.BaseLifecycle
afterProcessingClassNode, afterProcessingConstructorNode, beforeProcessingClassNode, beforeProcessingMethodNode
-
Constructor Details
-
PreconditionLifecycle
public PreconditionLifecycle()
-
-
Method Details
-
beforeProcessingConstructorNode
public void beforeProcessingConstructorNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) - Specified by:
beforeProcessingConstructorNode
in interfaceLifecycle
- Overrides:
beforeProcessingConstructorNode
in classBaseLifecycle
-
afterProcessingMethodNode
public void afterProcessingMethodNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) - Specified by:
afterProcessingMethodNode
in interfaceLifecycle
- Overrides:
afterProcessingMethodNode
in classBaseLifecycle
-