Class AnnotationProcessor

java.lang.Object
org.apache.groovy.contracts.common.spi.AnnotationProcessor
Direct Known Subclasses:
ClassInvariantAnnotationProcessor, EnsuresAnnotationProcessor, RequiresAnnotationProcessor

public abstract class AnnotationProcessor extends Object

Base class for modifying the internal domain model, starting at Contract, and adding parts to it.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(ProcessingContextInformation processingContextInformation, Contract contract, org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.stmt.BlockStatement blockStatement, org.codehaus.groovy.ast.expr.BooleanExpression booleanExpression)
     
    void
    process(ProcessingContextInformation processingContextInformation, Contract contract, org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.stmt.BlockStatement blockStatement, org.codehaus.groovy.ast.expr.BooleanExpression booleanExpression)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnnotationProcessor

      public AnnotationProcessor()
  • Method Details

    • process

      public void process(ProcessingContextInformation processingContextInformation, Contract contract, org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.stmt.BlockStatement blockStatement, org.codehaus.groovy.ast.expr.BooleanExpression booleanExpression)
    • process

      public void process(ProcessingContextInformation processingContextInformation, Contract contract, org.codehaus.groovy.ast.ClassNode classNode, org.codehaus.groovy.ast.MethodNode methodNode, org.codehaus.groovy.ast.stmt.BlockStatement blockStatement, org.codehaus.groovy.ast.expr.BooleanExpression booleanExpression)