public abstract class AnnotationProcessor
extends Object
Base class for modifying the internal domain model, starting at Contract, and adding parts to it.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
process(ProcessingContextInformation processingContextInformation, Contract contract, ClassNode classNode, BlockStatement blockStatement, BooleanExpression booleanExpression)Processes a class-level contract annotation and updates the contract domain model. |
|
public void |
process(ProcessingContextInformation processingContextInformation, Contract contract, ClassNode classNode, MethodNode methodNode, BlockStatement blockStatement, BooleanExpression booleanExpression)Processes a method- or constructor-level contract annotation and updates the contract domain model. |
Processes a class-level contract annotation and updates the contract domain model.
processingContextInformation - the current processing contextcontract - the mutable contract modelclassNode - the annotated classblockStatement - the original contract blockbooleanExpression - the normalized boolean expressionProcesses a method- or constructor-level contract annotation and updates the contract domain model.
processingContextInformation - the current processing contextcontract - the mutable contract modelclassNode - the declaring classmethodNode - the annotated method or constructorblockStatement - the original contract blockbooleanExpression - the normalized boolean expression