< prev index next >

src/jdk.jextract/share/classes/com/sun/tools/jextract/Context.java

Print this page

        

*** 83,92 **** --- 83,94 ---- private final List<String> libraryPaths; // The list of library paths for link checks private final List<String> linkCheckPaths; // Symbol patterns to be excluded private final List<Pattern> excludeSymbols; + // generate static forwarder class or not? + private boolean genStaticForwarder; final PrintWriter out; final PrintWriter err; private Predicate<String> symChecker;
*** 142,151 **** --- 144,161 ---- void addExcludeSymbols(String pattern) { excludeSymbols.add(Pattern.compile(pattern)); } + void setGenStaticForwarder(boolean flag) { + this.genStaticForwarder = flag; + } + + boolean getGenStaticForwarder() { + return genStaticForwarder; + } + // return the absolute path of the library of given name by searching // in the given array of paths. private static Optional<Path> findLibraryPath(Path[] paths, String libName) { return Arrays.stream(paths). map(p -> p.resolve(System.mapLibraryName(libName))).
< prev index next >