01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.aspectwerkz.reflect;
05:
06: import com.tc.backport175.bytecode.AnnotationElement.Annotation;
07:
08: /**
09: * 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 getName();
22:
23: /**
24: * Returns the signature for the element.
25: *
26: * @return the signature for the element
27: */
28: String 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 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: }
|