KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.reflect.code;
2
3 /**
4  * This code element defines a literal value (an int, a string, etc).
5  * @param <T> type of literal's value
6  */

7 public interface CtLiteral<T> extends CtExpression<T> {
8
9     /**
10      * Gets the actual value of the literal (statically known).
11      */

12     T getValue();
13     /**
14      * Sets the actual value of the literal.
15      */

16     void setValue(T value);
17     
18 }
19
Popular Tags