/** * Creates an AssertionNode using an arbitrary candidate assertion with a * descriptions used for filter AST walker dumps. * * @param assertion the arbitrary selection logic. * @param desc the printout representation for filter prints. */ public AssertionNode( Assertion assertion, String desc ) { super( AssertionType.ASSERTION ); this.desc = desc; this.assertion = assertion; /* * We never want this node to ever make it to the point of becoming a * candidate for use in an enumeration so we set the scan count to the * maximum value. */ set( "count", Long.MAX_VALUE ); }