Groovy, Java 8 & Virtual Extension Methods

As some of my daily projects deal with Java, I thought it would be a good idea to dig into some language changes Java 8 will provide. Undoubtedly, Java 8...

GContracts 1.2.10 Released!

I am happy to announce that GContracts 1.2.10 has just been released and is available in the Central Maven repository [0] and at Github [1]. 1.2.10 follows closely...

GContracts Performance Tweaks

This article is about some discoveries I made along the way to improve performance (in terms of execution time of assertion enabled code) in the next version of GContracts [

Groovy Quickie: AST Transformations and TypeResolver NPs

I have seen this exception every now and than, but today I write this blog post mainly to remind myself of the error cause (and share it with the reader,...

@TypeChecked, @CompileStatic and GContracts

As of version 1.2.9 GContracts [0] - a Design by Contract library - supports Groovy's @CompileStatic and @TypedChecked annotations. With Groovy 2.0, @CompileStatic can be used to execute type...

GContracts 1.2.9 Released!

I am proud to announce that GContracts 1.2.9 has just been released and is available in the Central Maven repository [0] and at Github [1]. This release covers...

Groovy Extension Modules

One of Groovy's strengths is its ability to decrease clue code and API flaws by providing additional API methods for JDK classes. For example, instead of creating a reader and...