T
- Trait being built.B
- Builder that is building the trait.public abstract class AbstractTraitBuilder<T extends Trait,B extends AbstractTraitBuilder> extends java.lang.Object implements SmithyBuilder<T>
Constructor and Description |
---|
AbstractTraitBuilder() |
Modifier and Type | Method and 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, requiredState
public B sourceLocation(FromSourceLocation sourceLocation)
sourceLocation
- Location of the trait.public SourceLocation getSourceLocation()