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

Method checkNativeObject

src/api/java/StringSymbol.java:47–55  ·  view source on GitHub ↗
(long obj)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
toIntMethod · 0.80

Tested by

no test coverage detected