KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > support > reflect > reference > CtLocalVariableReferenceImpl


1 package spoon.support.reflect.reference;
2
3 import spoon.reflect.code.CtLocalVariable;
4 import spoon.reflect.reference.CtLocalVariableReference;
5 import spoon.reflect.visitor.CtVisitor;
6
7 public class CtLocalVariableReferenceImpl<T> extends CtVariableReferenceImpl<T>
8         implements CtLocalVariableReference<T> {
9     private static final long serialVersionUID = 1L;
10     private CtLocalVariable<T> declaration;
11
12     public CtLocalVariableReferenceImpl() {
13         super();
14     }
15
16     public void accept(CtVisitor visitor) {
17         visitor.visitCtLocalVariableReference(this);
18     }
19
20     public CtLocalVariable<T> getDeclaration() {
21         return declaration;
22     }
23
24     public void setDeclaration(CtLocalVariable<T> declaration) {
25         this.declaration = declaration;
26     }
27
28 }
29
Popular Tags