public final class DependencyStack extends Object
This type must not be used for anything except for providing error diagnostics.
Modifier and Type | Class and Description |
---|---|
static interface |
DependencyStack.Element
Marker interface for stack trace elements.
|
static interface |
DependencyStack.ProvidesElement
Types which have something to be stored in stack trace
|
Modifier and Type | Method and Description |
---|---|
DependencyStack |
child(DependencyStack.Element where)
Cons
|
DependencyStack |
child(String where)
Cons
|
com.google.common.collect.ImmutableList<Object> |
collect()
Collect the stack elements, top first
|
com.google.common.collect.ImmutableList<String> |
collectStringsFilterAdjacentDupes()
Collect the stack elements, top first, converting all elements to strings, and filtering out
adjacent duplicates.
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty()
Check if stack is empty
|
static DependencyStack |
root()
Create an empty stack
|
static DependencyStack |
top(DependencyStack.Element top)
Create a single element stack
|
static DependencyStack |
top(String top)
Create a single element stack
|
String |
toString() |
public static DependencyStack root()
public static DependencyStack top(DependencyStack.Element top)
public static DependencyStack top(String top)
public DependencyStack child(DependencyStack.Element where)
public DependencyStack child(String where)
public boolean isEmpty()
public com.google.common.collect.ImmutableList<Object> collect()
public com.google.common.collect.ImmutableList<String> collectStringsFilterAdjacentDupes()