Heres a sample code with Java Annotations.
See Earlier Post for more details.
// Decompiled by jdec // DECOMPILER HOME PAGE: jdec.sourceforge.net // Main HOSTING SITE: sourceforge.net // Copyright (C)2006,2007,2008 Swaroop Belur. // jdec comes with ABSOLUTELY NO WARRANTY; // This is free software, and you are welcome to redistribute // it under certain conditions; // See the File 'COPYING' For more details./**** List of All Imported Classes ***/ import java.lang.Object; import java.util.ArrayList; // End of Import class AnnotationTest { /*** **Class Fields ***/ @TestAnnot(by = {1,2},obj = {java.lang.Object.class},e = en.TWO) private Object obj ; private List l ; // CLASS: AnnotationTest: AnnotationTest( ) { super(); ArrayList JdecGenerated7 = new ArrayList(); this.l =JdecGenerated7; return; } // CLASS: AnnotationTest: public Object getObj(@SomeAnnot(bt = 2,name = {"Lhello;","sting2"},sh = 5,clzAr = {java.lang.String.class,java.util.Map.class},clz = java.lang.StringBuffer.class) Object o) { return this.obj; } }