MCPcopy Create free account
hub / github.com/Z3Prover/z3 / checkNativeObject

Method checkNativeObject

src/api/java/Quantifier.java:251–258  ·  view source on GitHub ↗
(long obj)

Source from the content-addressed store, hash-verified

249 }
250
251 @Override
252 void checkNativeObject(long obj) {
253 if (Native.getAstKind(getContext().nCtx(), obj) != Z3_ast_kind.Z3_QUANTIFIER_AST
254 .toInt()) {
255 throw new Z3Exception("Underlying object is not a quantifier");
256 }
257 super.checkNativeObject(obj);
258 }
259}

Callers

nothing calls this directly

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
toIntMethod · 0.80

Tested by

no test coverage detected