Class RequiredTrait

  • All Implemented Interfaces:
    Trait

    public final class RequiredTrait
    extends Object
    implements Trait
    Trait that indicates a value must be provided for a member.
    • Method Detail

      • type

        public TraitType type()
        Description copied from interface: Trait
        The known trait type. This is correctly implemented and uniquely mapped to the enum values which allow us to create enum maps for trait known trait types.
        Specified by:
        type in interface Trait