KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > env > IBinaryElementValuePair


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 BEA Systems, Inc.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * tyeung@bea.com - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.env;
12
13 /**
14  * This represents the class file information about a member value pair of an annotation.
15  */

16 public interface IBinaryElementValuePair {
17
18 /** @return the name of the member */
19 char[] getName();
20
21 /**
22  * Return {@link ClassSignature} for a Class {@link java.lang.Class}.
23  * Return {@link org.eclipse.jdt.internal.compiler.impl.Constant} for compile-time constant of primitive type, as well as String literals.
24  * Return {@link EnumConstantSignature} if value is an enum constant.
25  * Return {@link IBinaryAnnotation} for annotation type.
26  * Return {@link Object}[] for array type.
27  *
28  * @return the value of this member value pair
29  */

30 Object JavaDoc getValue();
31 }
32
Popular Tags