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, MethodGraph.Compiler.Default.Merger.Strict
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.
|
String |
toString() |
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)
MethodGraph.Compiler.Default.Merger
merge
in interface MethodGraph.Compiler.Default.Merger
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.public String toString()
toString
in class Enum<MethodGraph.Compiler.Default.Merger.Directional>
Copyright © 2014–2015. All rights reserved.