Find
-
Recent Posts
- GContracts 1.2.11 Released!
- GContracts 1.2.11 Sneak Peak – Improved IDE Support
- Groovy 2.1: groovyc –configscript
- Groovy 2.1: The @DelegatesTo Annotation
- Groovy 2.1: The @AnnotationCollector Annotation
- Groovy 2.1: Type Checking Extensions
- Groovy 2.1.0 Released!
- Groovy Quickie: Collection#inject([Object,] Closure)
- Groovy Quickie: Dumping the Groovy AST
- GVM – the Groovy enVironment Manager
- Groovy, Java 8 & Virtual Extension Methods
- GContracts 1.2.10 Released!
- GContracts Performance Tweaks
- Groovy Quickie: AST Transformations and TypeResolver NPs
- @TypeChecked, @CompileStatic and GContracts
Categories
Recent Comments
Archives
Category Archives: Intro
Getting Started with Annotation Contracts
Annotation Contracts is one of the new features of GContracts 1.2 [0]. The main principle behind is to reuse small but reoccurring parts of pre- and post-condition expressions. This article is about creating a simple @NotNull annotation contract. @NotNull can … Continue reading
Posted in Intro, gcontracts, groovy
2 Comments