The Weak Reference

The Weak Reference

Kurser i Domain-Driven Design - VĂ¥ren 2012




Wednesday, June 06, 2007

Fulhack Annotation 1.0

Introducing Fulhack Annotation 1.0 for Java - finally you can come clean with your fulhacks!

Download the Fulhack Annotation jar and drop it on your classpath. You can now annotate your fulhacks like this:

@Fulhack(blameDeveloper = "patrik",
badExcuse =
"Didn't have time to make it nice",
hack =
"Perhaps use same solution as for Cat, it looks OK.")
public void setBrownColor() {
color =
"Brown";
}

Using the Annotation Processing Tool (apt) shipping with Java 5, you can then create reports of your fulhacks by running:

apt -cp fulhack-1.0.0.jar <path-to-source-code>/*.java

Fulhack is licensed under the Apache License, Version 2.0.

Enjoy!

Download fulhack-1.0.0.zip

2 comments:

Rickard said...

Brillant!

That will go right into all of my projects.

Pop said...

Haha! Nice one :)