01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.core.util;
11:
12: /**
13: * Description of an annotation component as described in the JVM specifications
14: * (added in J2SE 1.5).
15: *
16: * This interface may be implemented by clients.
17: *
18: * @since 3.0
19: */
20: public interface IAnnotationComponent {
21: /**
22: * Answer back the component name index as described in the JVM specifications.
23: *
24: * @return the component name index
25: */
26: int getComponentNameIndex();
27:
28: /**
29: * Answer back the component name as described in the JVM specifications.
30: *
31: * @return the component name
32: */
33: char[] getComponentName();
34:
35: /**
36: * Answer back the component value as described in the JVM specifications.
37: *
38: * @return the component value
39: */
40: IAnnotationComponentValue getComponentValue();
41: }
|