KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtVariableAccess


1 package spoon.reflect.code;
2
3 import spoon.reflect.reference.CtVariableReference;
4
5 /**
6  * This code element defines an access to a variable.
7  * @param <T> type of the variable
8  */

9 public interface CtVariableAccess<T> extends
10         CtExpression<T> {
11     /**
12      * Gets the reference to the accessed variable.
13      */

14     CtVariableReference<T> getVariable();
15
16     /**
17      * Sets the reference to the accessed variable.
18      */

19     void setVariable(CtVariableReference<T> variable);
20 }
21
Popular Tags