(long obj)
| 2152 | } |
| 2153 | |
| 2154 | @Override |
| 2155 | void checkNativeObject(long obj) { |
| 2156 | if (!Native.isApp(getContext().nCtx(), obj) && |
| 2157 | Native.getAstKind(getContext().nCtx(), obj) != Z3_ast_kind.Z3_VAR_AST.toInt() && |
| 2158 | Native.getAstKind(getContext().nCtx(), obj) != Z3_ast_kind.Z3_QUANTIFIER_AST.toInt()) { |
| 2159 | throw new Z3Exception("Underlying object is not a term"); |
| 2160 | } |
| 2161 | super.checkNativeObject(obj); |
| 2162 | } |
| 2163 | |
| 2164 | static <U extends Sort> Expr<U> create(Context ctx, FuncDecl<U> f, Expr<?> ... arguments) |
| 2165 | { |
nothing calls this directly
no test coverage detected