public static enum MethodGraph.Compiler.Default.Merger.Directional extends Enum<MethodGraph.Compiler.Default.Merger.Directional> implements MethodGraph.Compiler.Default.Merger
MethodGraph.Compiler.Default.Merger.Directional| Enum Constant and Description | 
|---|
LEFT
A merger that always returns the left method, i.e. 
 | 
RIGHT
A merger that always returns the right method, i.e. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodDescription | 
merge(MethodDescription left,
     MethodDescription right)
Merges two ambiguously resolved methods to yield a single representative. 
 | 
static MethodGraph.Compiler.Default.Merger.Directional | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static MethodGraph.Compiler.Default.Merger.Directional[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final MethodGraph.Compiler.Default.Merger.Directional LEFT
public static final MethodGraph.Compiler.Default.Merger.Directional RIGHT
public static MethodGraph.Compiler.Default.Merger.Directional[] values()
for (MethodGraph.Compiler.Default.Merger.Directional c : MethodGraph.Compiler.Default.Merger.Directional.values()) System.out.println(c);
public static MethodGraph.Compiler.Default.Merger.Directional valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MethodDescription merge(MethodDescription left, MethodDescription right)
merge in interface MethodGraph.Compiler.Default.Mergerleft - 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–2023. All rights reserved.