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

Method getAccessorDecls

src/api/java/Constructor.java:77–87  ·  view source on GitHub ↗

The function declarations of the accessors @throws Z3Exception @throws Z3Exception on error

()

Source from the content-addressed store, hash-verified

75 * @throws Z3Exception on error
76 **/
77 public FuncDecl<?>[] getAccessorDecls()
78 {
79 Native.LongPtr constructor = new Native.LongPtr();
80 Native.LongPtr tester = new Native.LongPtr();
81 long[] accessors = new long[n];
82 Native.queryConstructor(getContext().nCtx(), getNativeObject(), n, constructor, tester, accessors);
83 FuncDecl<?>[] t = new FuncDecl[n];
84 for (int i = 0; i < n; i++)
85 t[i] = new FuncDecl<>(getContext(), accessors[i]);
86 return t;
87 }
88
89 @Override
90 void incRef() {

Callers 4

treeExampleMethod · 0.95
forestExampleMethod · 0.95
treeExampleMethod · 0.80
forestExampleMethod · 0.80

Calls 3

nCtxMethod · 0.80
getContextMethod · 0.80
getNativeObjectMethod · 0.80

Tested by

no test coverage detected