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 > expression; 11 12 public CtExpression<Integer > getIndexExpression() { 13 return expression; 14 } 15 16 public void setIndexExpression(CtExpression<Integer > expression) { 17 this.expression = expression; 18 } 19 20 public void accept(CtVisitor visitor) { 21 visitor.visitCtArrayAccess(this); 22 } 23 24 } 25 | Popular Tags |