public static Collection<ParseTree> findAllRuleNodes(ParseTree t, int ruleIndex) {
		return findAllNodes(t, ruleIndex, false);
	}
Return true if t is u's parent or a node on path to root from u.
 Use == not equals().

 @since 4.5.1
runtime/Java/src/org/antlr/v4/runtime/tree/Trees.java