public interface Aspectable
AspectType, from the aspectable will return an object
conforming to the respective programmatic type of the aspect. If an aspectable does not support
the requested aspect, it returns null.
See the implementors of AspectType to find out about available aspect APIs.
AspectType| Modifier and Type | Method and Description |
|---|---|
<T> T |
getAspect(AspectType<T> aspect)
Request an aspect from the aspectable.
|
@Nullable <T> T getAspect(@NotNull AspectType<T> aspect)
T - The type of the returned instance.aspect - The aspect requested.null, if the aspect is not supported.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408