KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > aspectwerkz > reflect > ReflectionInfo


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.aspectwerkz.reflect;
5
6 import com.tc.backport175.bytecode.AnnotationElement.Annotation;
7
8 /**
9  * Base interface for the reflection info hierarchy.
10  *
11  * @author <a HREF="mailto:jboner@codehaus.org">Jonas Bon�r </a>
12  */

13 public interface ReflectionInfo {
14
15   /**
16    * Returns the name element.
17    * If the element is an array class, its name is as a human writes it: java.lang.String[]
18    *
19    * @return the name of the element
20    */

21   String JavaDoc getName();
22
23   /**
24    * Returns the signature for the element.
25    *
26    * @return the signature for the element
27    */

28   String JavaDoc getSignature();
29
30   /**
31    * Returns the internal generics signature for the element.
32    *
33    * @return the internal generics signature for the element
34    */

35   String JavaDoc getGenericsSignature();
36   
37   /**
38    * Returns the class modifiers.
39    *
40    * @return the class modifiers
41    */

42   int getModifiers();
43
44   /**
45    * Returns the annotations.
46    *
47    * @return the annotations
48    */

49   Annotation[] getAnnotations();
50 }
Popular Tags