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

Method checkNativeObject

src/api/java/FuncDecl.java:362–369  ·  view source on GitHub ↗
(long obj)

Source from the content-addressed store, hash-verified

360 }
361
362 void checkNativeObject(long obj)
363 {
364 if (Native.getAstKind(getContext().nCtx(), obj) != Z3_ast_kind.Z3_FUNC_DECL_AST
365 .toInt())
366 throw new Z3Exception(
367 "Underlying object is not a function declaration");
368 super.checkNativeObject(obj);
369 }
370
371 /**
372 * Create expression that applies function to arguments.

Callers

nothing calls this directly

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
toIntMethod · 0.80

Tested by

no test coverage detected