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.reflect;
9
10 import java.util.List;
11
12 /***
13 * Base interface for the reflection info hierarchy.
14 *
15 * @author <a href="mailto:jboner@codehaus.org">Jonas BonŽr </a>
16 */
17 public interface ReflectionInfo {
18
19 /***
20 * Returns the name element.
21 * If the element is an array class, its name is as a human writes it: java.lang.String[]
22 *
23 * @return the name of the element
24 */
25 String getName();
26
27 /***
28 * Returns the signature for the element.
29 *
30 * @return the signature for the element
31 */
32 String getSignature();
33
34 /***
35 * Returns the class modifiers.
36 *
37 * @return the class modifiers
38 */
39 int getModifiers();
40
41 /***
42 * Returns the annotation infos.
43 *
44 * @return the annotations infos
45 */
46 List getAnnotations();
47 }