In Attribute-Oriented programming in Java offers a framework that can change custome javadoc-like tags into source code. The Java 1.5 has offered the facility to convert the strctured format including the attributes insides the real code. These attributes are known as "annotations" and they are used to furnish metadata for class, methods, field or variables. These attributes are declatred explicitly alongwith it also offers a sequence of name value pairs which may contain any constant value(primitives, strings, enumerations, and classes) etc.
For more details about attribute oriented prgramming in Java visit this link: http://roseindia.net/java/