newCC = null;
try {
// We are interested in ColumnReference classes in the parse tree
CollectNodesVisitor visitor = new CollectNodesVisitor(ColumnReference.class);
stmtnode.accept(visitor);
Vector refs = visitor.getList();
// Regenerate the internal representation for the trigger action
// sql using the ColumnReference classes in the parse tree. It
// will catch dropped column getting used in trigger action sql