KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
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  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.env;
12
13 import org.eclipse.jdt.internal.compiler.impl.Constant;
14
15 public interface IBinaryField extends IGenericField {
16 /**
17  * Answer the runtime visible and invisible annotations for this field or null if none.
18  */

19 IBinaryAnnotation[] getAnnotations();
20
21 /**
22  *
23  * @return org.eclipse.jdt.internal.compiler.Constant
24  */

25 Constant getConstant();
26
27 /**
28  * Answer the receiver's signature which describes the parameter &
29  * return types as specified in section 4.4.4 of the Java 2 VM spec.
30  */

31 char[] getGenericSignature();
32
33 /**
34  * Answer the name of the field.
35  */

36 char[] getName();
37
38 /**
39  * Answer the tagbits set according to the bits for annotations.
40  */

41 long getTagBits();
42
43 /**
44  * Answer the resolved name of the receiver's type in the
45  * class file format as specified in section 4.3.2 of the Java 2 VM spec.
46  *
47  * For example:
48  * - java.lang.String is Ljava/lang/String;
49  * - an int is I
50  * - a 2 dimensional array of strings is [[Ljava/lang/String;
51  * - an array of floats is [F
52  */

53 char[] getTypeName();
54 }
55
Popular Tags