Class AbstractTraitBuilder<T extends Trait,​B extends AbstractTraitBuilder>

    • Constructor Detail

      • AbstractTraitBuilder

        public AbstractTraitBuilder()
    • Method Detail

      • sourceLocation

        public B sourceLocation​(FromSourceLocation sourceLocation)
        Sets the source location of where the trait was defined.
        Parameters:
        sourceLocation - Location of the trait.
        Returns:
        Returns the builder.
      • getSourceLocation

        public SourceLocation getSourceLocation()
        Gets the source location configured for the builder.
        Returns:
        Returns the source location or null if not set.