←Older revision | Revision as of 06:59, 30 August 2010 | ||
Line 3: | Line 3: | ||
* Compiler-time and deployment-time processing — Software tools (like [[AnnotationProcessor]]s) can process annotation information to generate boilerplate code (like in case of [[LiveDB]], XML files, or other [[CompileTimeCache]]s. | * Compiler-time and deployment-time processing — Software tools (like [[AnnotationProcessor]]s) can process annotation information to generate boilerplate code (like in case of [[LiveDB]], XML files, or other [[CompileTimeCache]]s. | ||
* Runtime processing — Some [[annotation]]s are available to the developer/manager for examination at runtime. | * Runtime processing — Some [[annotation]]s are available to the developer/manager for examination at runtime. | ||
- | [[Annotation]]s can be applied to a program's declarations of classes, fields, methods, interfaces, arrays and other program elements. | + | [[Annotation]]s can be applied to a program's declarations of classes, fields, methods, interfaces, arrays and other program elements. [[Annotation]]s together with [[AnnotationProcessor]]s and perfect way to implement embedded [[DSL]]s inside [[Java]]. |