KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > declaration > CtField


1 package spoon.reflect.declaration;
2
3 import spoon.reflect.reference.CtFieldReference;
4
5 /**
6  * This element defines a field declaration.
7  */

8 public interface CtField<T> extends CtNamedElement, CtVariable<T> {
9
10     /**
11      * The separator for a string representation of a field.
12      */

13     public static final String JavaDoc FIELD_SEPARATOR = "#";
14
15     /**
16      * Gets the type that declares this field.
17      */

18     CtSimpleType<?> getDeclaringType();
19
20     /*
21      * (non-Javadoc)
22      *
23      * @see spoon.reflect.declaration.CtNamedElement#getReference()
24      */

25     CtFieldReference<T> getReference();
26 }
Popular Tags