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

Method checkNativeObject

src/api/java/IntSymbol.java:49–56  ·  view source on GitHub ↗
(long obj)

Source from the content-addressed store, hash-verified

47 }
48
49 @Override
50 void checkNativeObject(long obj)
51 {
52 if (Native.getSymbolKind(getContext().nCtx(), obj) != Z3_symbol_kind.Z3_INT_SYMBOL
53 .toInt())
54 throw new Z3Exception("Symbol is not of integer kind");
55 super.checkNativeObject(obj);
56 }
57}

Callers

nothing calls this directly

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
toIntMethod · 0.80

Tested by

no test coverage detected