Class GraphAnalyzer.GraphAnalyzerBuilder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.dependency.GraphAnalyzer.GraphAnalyzerBuilder
-
- Enclosing class:
- GraphAnalyzer
public static class GraphAnalyzer.GraphAnalyzerBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description GraphAnalyzerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphAnalyzer
build()
Builds the analyzer and triggers traversal of all nodes for detecting potential cycles and calculates the full list of descendants of each node.GraphAnalyzer.GraphAnalyzerBuilder
withNode(String name, String... descendants)
GraphAnalyzer.GraphAnalyzerBuilder
withNode(String name, Set<String> descendants)
-
-
-
Method Detail
-
withNode
public GraphAnalyzer.GraphAnalyzerBuilder withNode(String name, Set<String> descendants)
-
withNode
public GraphAnalyzer.GraphAnalyzerBuilder withNode(String name, String... descendants)
-
build
public GraphAnalyzer build()
Builds the analyzer and triggers traversal of all nodes for detecting potential cycles and calculates the full list of descendants of each node.- Returns:
- the analyzer
-
-