public interface Describable<T extends Describable<T>>
Descriptor.| Modifier and Type | Method and Description |
|---|---|
Descriptor<T> |
getDescriptor()
Gets the descriptor for this instance.
|
Descriptor<T> getDescriptor()
Descriptor is a singleton for every concrete Describable
implementation, so if a.getClass() == b.getClass() then by default
a.getDescriptor() == b.getDescriptor() as well.
(In rare cases a single implementation class may be used for instances with distinct descriptors.)
Copyright © 2019. All rights reserved.