1 2 3 package org.jboss.aop.annotation.ast; 4 5 public class ASTString extends ASTMemberValue { 6 public ASTString(int id) { 7 super(id); 8 } 9 10 public ASTString(AnnotationParser p, int id) { 11 super(p, id); 12 } 13 14 15 16 public Object jjtAccept(AnnotationParserVisitor visitor, Object data) { 17 return visitor.visit(this, data); 18 } 19 20 private String value; 21 22 public void setValue(String val) 23 { 24 value = val.substring(1, val.length() - 1); 25 } 26 27 public String getValue() { return value; } 28 } 29 | Popular Tags |