01: /**************************************************************************************
02: * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
03: * http://aspectwerkz.codehaus.org *
04: * ---------------------------------------------------------------------------------- *
05: * The software in this package is published under the terms of the LGPL license *
06: * a copy of which has been included with this distribution in the license.txt file. *
07: **************************************************************************************/package org.codehaus.aspectwerkz.reflect;
08:
09: import java.util.List;
10:
11: /**
12: * Base interface for the reflection info hierarchy.
13: *
14: * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
15: */
16: public interface ReflectionInfo {
17:
18: /**
19: * Returns the name element.
20: * If the element is an array class, its name is as a human writes it: java.lang.String[]
21: *
22: * @return the name of the element
23: */
24: String getName();
25:
26: /**
27: * Returns the signature for the element.
28: *
29: * @return the signature for the element
30: */
31: String getSignature();
32:
33: /**
34: * Returns the class modifiers.
35: *
36: * @return the class modifiers
37: */
38: int getModifiers();
39:
40: /**
41: * Returns the annotation infos.
42: *
43: * @return the annotations infos
44: */
45: List getAnnotations();
46: }
|