KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > codehaus > aspectwerkz > annotation > UntypedAnnotation


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package org.codehaus.aspectwerkz.annotation;
9
10 import java.io.ObjectInputStream JavaDoc;
11 import java.io.Serializable JavaDoc;
12
13 /**
14  * Untyped annotation interface. <p/>To be used with JavDoc-style, pure string based, one value only type of annotations.
15  *
16  * @author <a HREF="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
17  */

18 public interface UntypedAnnotation {
19
20     /**
21      * The raw annotation value
22      */

23     public String JavaDoc value();
24
25     /**
26      * The annotation name as it appears in the source code (f.e. "Untyped" when used as "@Untyped hello")
27      */

28     public String JavaDoc name();
29 }
Popular Tags