APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.tools.jdeps

public Class ModuleExportsAnalyzer

extends DepsAnalyzer
Class Inheritance
Imports
java.io.IOException, .PrintWriter, java.lang.module.ModuleDescriptor, java.util.Comparator, .HashMap, .HashSet, .Map, .Set, .TreeSet, java.util.stream.Collectors, .Stream

Analyze module dependences and any reference to JDK internal APIs. It can apply transition reduction on the resulting module graph. The result prints one line per module it depends on one line per JDK internal API package it references: $MODULE[/$PACKAGE]

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final Map<Archive, Map<Archive, Set<String>>>
private final Map<String, Set<String>>
private final boolean
private final String
private final boolean
private final PrintWriter
Inherited from com.sun.tools.jdeps.DepsAnalyzer:
analyzerapiOnlyarchivesconfigurationfilterfinderrootArchivesverbose

Constructor Summary

AccessConstructor and Description
public
ModuleExportsAnalyzer(JdepsConfiguration config, JdepsFilter filter, boolean showInternals, boolean reduced, PrintWriter writer, String separator)

Method Summary

Modifier and TypeMethod and Description
private Stream<Map<Archive, Set<String>>>
private Map<Module, Set<String>>
private Set<Module>
public boolean
run(int maxDepth, boolean ignoreMissingDeps)

pack-priv void
Inherited from com.sun.tools.jdeps.DepsAnalyzer:
archivesdependenceGraphdependencesincludemoduleGraphrunrun

Field Detail

depsback to summary
private final Map<Archive, Map<Archive, Set<String>>> deps
missingDepsback to summary
private final Map<String, Set<String>> missingDeps
reducedback to summary
private final boolean reduced
separatorback to summary
private final String separator
showInternalsback to summary
private final boolean showInternals
writerback to summary
private final PrintWriter writer

Hides com.sun.tools.jdeps.DepsAnalyzer.writer.

Constructor Detail

ModuleExportsAnalyzerback to summary
public ModuleExportsAnalyzer(JdepsConfiguration config, JdepsFilter filter, boolean showInternals, boolean reduced, PrintWriter writer, String separator)

Method Detail

dependenceStreamback to summary
private Stream<Map<Archive, Set<String>>> dependenceStream()
internalPackagesback to summary
private Map<Module, Set<String>> internalPackages()
modulesback to summary
private Set<Module> modules()
runback to summary
public boolean run(int maxDepth, boolean ignoreMissingDeps) throws IOException
visitMissingDepsback to summary
pack-priv void visitMissingDeps(Analyzer.Visitor visitor)
com.sun.tools.jdeps back to summary

private Class ModuleExportsAnalyzer.RootModule

extends Module
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final String
Inherited from com.sun.tools.jdeps.Module:
DEBUGJDK_UNSUPPORTEDUNNAMED_MODULE

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from com.sun.tools.jdeps.Module:
descriptorexportsgetModuleisAutomaticisExportedisExportedisJDKisJDKUnsupportedisNamedisOpenisOpenisSystemlocationnamepackagestoNormalModuletoStringtracetrace

Field Detail

NAMEback to summary
pack-priv static final String NAME

Constructor Detail

RootModuleback to summary
pack-priv RootModule()