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

Method getNames

src/api/java/ParamDescrs.java:62–72  ·  view source on GitHub ↗

Retrieve all names of parameters. @throws Z3Exception

()

Source from the content-addressed store, hash-verified

60 * @throws Z3Exception
61 **/
62 public Symbol[] getNames()
63 {
64 int sz = Native.paramDescrsSize(getContext().nCtx(), getNativeObject());
65 Symbol[] names = new Symbol[sz];
66 for (int i = 0; i < sz; ++i)
67 {
68 names[i] = Symbol.create(getContext(), Native.paramDescrsGetName(
69 getContext().nCtx(), getNativeObject(), i));
70 }
71 return names;
72 }
73
74 /**
75 * The size of the ParamDescrs.

Callers

nothing calls this directly

Calls 4

createMethod · 0.95
nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected