Introspect a component's specific state Attr attribute, returning an associated value specific to that component, or the default value associated with the key, or null if the attribute doesn't make sense for that particular component and has no sensible default. @param key a Attr to
(Attr<T> key)
| 556 | * |
| 557 | */ |
| 558 | default <T> @Nullable T scan(Attr<T> key) { |
| 559 | //note tryConvert will just plain cast most of the time |
| 560 | //except e.g. for Attr<Scannable> |
| 561 | T value = key.tryConvert(scanUnsafe(key)); |
no outgoing calls