public interface Origin
File
may have an origin made up of the file name along with line/column
numbers.
Implementations must provide sensible hashCode()
, equals(...)
and
#toString()
implementations.
OriginProvider
Modifier and Type | Method and Description |
---|---|
static Origin |
from(Object source)
Find the
Origin that an object originated from. |
static Origin from(Object source)
Origin
that an object originated from. Checks if the source object
is a OriginProvider
and also searches exception stacks.source
- the source object or null
Origin
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.