KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.reflect.declaration;
2
3 import spoon.reflect.reference.CtReference;
4
5
6 /**
7  * This element defines a simple (relative) name.
8  */

9 public interface CtNamedElement extends CtElement, CtModifiable {
10
11     /**
12      * Returns the simple (unqualified) name of this element.
13      */

14     String JavaDoc getSimpleName();
15
16     /**
17      * Sets the simple (unqualified) name of this element.
18      */

19     void setSimpleName(String JavaDoc simpleName);
20
21     /**
22      * Returns the corresponding reference.
23      */

24     CtReference getReference();
25
26 }
27
Popular Tags