Class BaseLifecycle
java.lang.Object
org.apache.groovy.contracts.common.base.BaseLifecycle
- All Implemented Interfaces:
Lifecycle
- Direct Known Subclasses:
ClassInvariantLifecycle
,PostconditionLifecycle
,PreconditionLifecycle
Base implementation class for interface
Lifecycle
. This class is supposed
tp be extended by Lifecycle
implementation classes and provides empty
method bodies for all interface methods.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterProcessingClassNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode) void
afterProcessingConstructorNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) void
afterProcessingMethodNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) void
beforeProcessingClassNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode) void
beforeProcessingConstructorNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) void
beforeProcessingMethodNode
(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode)
-
Constructor Details
-
BaseLifecycle
public BaseLifecycle()
-
-
Method Details
-
beforeProcessingClassNode
public void beforeProcessingClassNode(ProcessingContextInformation processingContextInformation, ClassNode classNode) - Specified by:
beforeProcessingClassNode
in interfaceLifecycle
-
afterProcessingClassNode
public void afterProcessingClassNode(ProcessingContextInformation processingContextInformation, ClassNode classNode) - Specified by:
afterProcessingClassNode
in interfaceLifecycle
-
beforeProcessingMethodNode
public void beforeProcessingMethodNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) - Specified by:
beforeProcessingMethodNode
in interfaceLifecycle
-
afterProcessingMethodNode
public void afterProcessingMethodNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode methodNode) - Specified by:
afterProcessingMethodNode
in interfaceLifecycle
-
beforeProcessingConstructorNode
public void beforeProcessingConstructorNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) - Specified by:
beforeProcessingConstructorNode
in interfaceLifecycle
-
afterProcessingConstructorNode
public void afterProcessingConstructorNode(ProcessingContextInformation processingContextInformation, ClassNode classNode, MethodNode constructorNode) - Specified by:
afterProcessingConstructorNode
in interfaceLifecycle
-