K - the lookup key type@FunctionalInterface public interface OriginLookup<K>
Origin
 information from a given key. Can be used to add origin support to existing classes.| Modifier and Type | Method and Description | 
|---|---|
| Origin | getOrigin(K key)Return the origin of the given key or  nullif the origin cannot be
 determined. | 
| static <K> Origin | getOrigin(Object source,
         K key)Attempt to lookup the origin from the given source. | 
Origin getOrigin(K key)
null if the origin cannot be
 determined.key - the key to lookupnullstatic <K> Origin getOrigin(Object source, K key)
OriginLookup or if an exception occurs during lookup then null is
 returned.K - the key typesource - the source objectkey - the key to lookupOrigin or nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.