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:
Brillant!
That will go right into all of my projects.
Haha! Nice one :)
Post a Comment