/** * Creates an ASTConstant node with specified value. This method should be overwritten by * subclasses. * * @throws ParseException */ public ASTConstant buildConstantNode(Object value) throws ParseException { ASTConstant node = new ASTConstant(ParserTreeConstants.JJTCONSTANT); node.setValue(value); return node; }