Metaprogramming with Groovy

A session at Greach 2014

Friday 28th March, 2014

4:15pm to 5:00pm (WET)

Groovy is a dynamic language that provides different types of metaprogramming techniques. In this talk we’ll mainly see runtime metaprogramming. I’ll explain Groovy Meta-Object-Protocol (MOP), the metaclass, how to intercept method calls, how to deal with method missing and property missing, the use of mixings and categories. All of these topics will be explained with examples in order to understand them.

Also, I’ll talk a little bit about compile-time metaprogramming with AST Transformations. AST Transformations provide a wonderful way of manipulating code at compile time via modifications of the Abstract Syntax Tree. We’ll see a basic but powerful example of what we can do with AST transformations.

About the speaker

This person is speaking at this event.
Iván López

Geek, Father, Groovy & Grails Developer, Sysadmin, Linux-lover, Pro-Opensource, Lord of Sealand and creator of http://www.bokzuy.com . Working at @kaleidosnet

Sign in to add slides, notes or videos to this session

Greach 2014

Spain Spain, Madrid

28th29th March 2014

Tell your friends!


Time 4:15pm5:00pm WET

Date Fri 28th March 2014

Session Hash Tag


Short URL


View the schedule


See something wrong?

Report an issue with this session