Class ExtendedTrait<T extends Trait>


  • public class ExtendedTrait<T extends Trait>
    extends Object
    Trait based extension reference holder.
    Keeps track of extension references for one extensible and allows the collection of those extensions when the extensible is collected.
    Author:
    Bogdan Horje
    • Constructor Detail

      • ExtendedTrait

        public ExtendedTrait​(T trait)
    • Method Detail

      • getTrait

        public T getTrait()
      • getExtension

        public <E> E getExtension​(Class<E> extensionAPI)