public static interface MethodGraph.Compiler.Default.Merger
MethodGraph.Node
between several ambiguously resolved methods.Modifier and Type | Interface and Description |
---|---|
static class |
MethodGraph.Compiler.Default.Merger.Directional
A directional merger that always returns either the left or right method description.
|
static class |
MethodGraph.Compiler.Default.Merger.Strict
A merger that returns the left node only if both methods are fully identical and throws an exception otherwise.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription |
merge(MethodDescription left,
MethodDescription right)
Merges two ambiguously resolved methods to yield a single representative.
|
MethodDescription merge(MethodDescription left, MethodDescription right)
left
- The left method description, i.e. the method that was discovered first or was previously merged.right
- The right method description, i.e. the method that was discovered last.Copyright © 2014–2015. All rights reserved.