Annotation & AST

Come up with them when I am battling with the JBehave GIVEN-WHEN-THEN core.

style of more and more annotations is getting popular. while to define them may not be a very simple task

Groovy way to define annotation for ast transformations
http://groovy.codehaus.org/Local+AST+Transformations

AST is the tree of java source code, what behind eclipse’s validation, content assist, F3 and everything

http://www.eclipse.org/articles/article.php?file=Article-JavaCodeManipulation_AST/index.html

These two articles combined is a very nice introduction to the annotation concept and AST, a little bit “advanced” but important for junior java / groovy programmers

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s