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.internal.compiler.env;
11:
12: import org.eclipse.jdt.internal.compiler.impl.Constant;
13:
14: public interface IBinaryField extends IGenericField {
15: /**
16: * Answer the runtime visible and invisible annotations for this field or null if none.
17: */
18: IBinaryAnnotation[] getAnnotations();
19:
20: /**
21: *
22: * @return org.eclipse.jdt.internal.compiler.Constant
23: */
24: Constant getConstant();
25:
26: /**
27: * Answer the receiver's signature which describes the parameter &
28: * return types as specified in section 4.4.4 of the Java 2 VM spec.
29: */
30: char[] getGenericSignature();
31:
32: /**
33: * Answer the name of the field.
34: */
35: char[] getName();
36:
37: /**
38: * Answer the tagbits set according to the bits for annotations.
39: */
40: long getTagBits();
41:
42: /**
43: * Answer the resolved name of the receiver's type in the
44: * class file format as specified in section 4.3.2 of the Java 2 VM spec.
45: *
46: * For example:
47: * - java.lang.String is Ljava/lang/String;
48: * - an int is I
49: * - a 2 dimensional array of strings is [[Ljava/lang/String;
50: * - an array of floats is [F
51: */
52: char[] getTypeName();
53: }
|