KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > support > reflect > code > CtLiteralImpl


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtLiteral;
4 import spoon.reflect.visitor.CtVisitor;
5
6 public class CtLiteralImpl<T extends Object JavaDoc> extends CtExpressionImpl<T>
7         implements CtLiteral<T> {
8     private static final long serialVersionUID = 1L;
9
10     T value;
11
12     public void accept(CtVisitor visitor) {
13         visitor.visitCtLiteral(this);
14     }
15
16     public T getValue() {
17         return value;
18     }
19
20     public void setValue(T value) {
21         this.value = (T) value;
22     }
23
24 }
25
Popular Tags