KickJava   Java API By Example, From Geeks To Geeks.

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


1 package spoon.support.reflect.code;
2
3 import spoon.reflect.code.CtArrayAccess;
4 import spoon.reflect.code.CtExpression;
5 import spoon.reflect.visitor.CtVisitor;
6
7 public class CtArrayAccessImpl<T,V extends CtExpression<?>> extends CtTargetedExpressionImpl<T,V>
8         implements CtArrayAccess<T,V> {
9     private static final long serialVersionUID = 1L;
10     private CtExpression<Integer JavaDoc> expression;
11
12     public CtExpression<Integer JavaDoc> getIndexExpression() {
13         return expression;
14     }
15
16     public void setIndexExpression(CtExpression<Integer JavaDoc> expression) {
17         this.expression = expression;
18     }
19
20     public void accept(CtVisitor visitor) {
21         visitor.visitCtArrayAccess(this);
22     }
23
24 }
25
Popular Tags