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

    • Method Summary

      Modifier and Type Method Description
      SourceLocation getSourceLocation()
      Gets the source location configured for the builder.
      B sourceLocation​(FromSourceLocation sourceLocation)
      Sets the source location of where the trait was defined.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.