* parameter to visit(XX) or visitXX(XX) methods, be * non-null, we would simply have to reflectively instantiate an * appropriately typed node.
* parameter to visit(XX) methods, be non-null, we would simply have * to reflectively instantiate an appropriately typed node.
		private void _checkMethodCallsSuperclassMethod(Class clazz, boolean isLeaf) {			/* Invoke a method which will result in the execution of			 * HierarchicalASTVisitor's implementation of visitXX(XX) or			 * visit(XX), where XX is the name of clazz.			 * 			 * If clazz is a leaf, we can invoke visit(XX) directly.			 * Otherwise, we must invoke superVisit(XX), (in this class)			 * which calls super.visitXX(XX), since visitXX(XX) is			 * overridden in this class.			 * 			 * The parameter passed to visit(XX) or superVisit(XX)			 * is null.  If there ever was any requirement that the			 * parameter to visit(XX) or visitXX(XX) methods, be			 * non-null, we would simply have to reflectively instantiate an			 * appropriately typed node.			 */			try {				Method method= 				    TestHierarchicalASTVisitor.class.getMethod(				        isLeaf ? getLeafMethodNameFor(clazz) : "superVisit",				        new Class[] { clazz }					);				method.invoke(this, new Object[] { null });			} catch (NoSuchMethodException e) {				/* This should have already been discovered by				 * hasRequiredMethodsForNonLeaf(..)				 */				 e.printStackTrace();				Assert.isTrue(false); 			} catch (IllegalAccessException e) {				e.printStackTrace();				Assert.isTrue(false);			} catch (InvocationTargetException e) {				e.printStackTrace();				Assert.isTrue(false);			}						/*			 * Verify that the method invokation caused			 * a call to visitYY(YY), where YY is the			 * name of the superclass of clazz.			 * (Also, verify that no other visitYY(YY)			 * method was called).			 */			checkSuperclassMethodCalled(clazz, isLeaf);		}