- /**
- * Returns true if supplied statement context represents unrecognized
- * statement, otherwise returns false.
- *
- * @param stmtCtx
- * statement context to be checked
- * @return true if supplied statement context represents unrecognized
- * statement, otherwise false
- * @throws NullPointerException
- * if supplied statement context is null
- */
- public static boolean isUnrecognizedStatement(final StmtContext<?, ?, ?> stmtCtx) {
- return stmtCtx.producesDeclared(UnrecognizedStatement.class);
- }
-