Interface NamedGem.Builder<T>

  • All Known Implementing Classes:
    NamedGem.BuilderImpl
    Enclosing class:
    NamedGem

    public static interface NamedGem.Builder<T>
    A builder that can be implemented by the user to define custom logic e.g. in the build method, prior to creating the annotation gem.
    • Method Detail

      • setMirror

        NamedGem.Builder setMirror​(javax.lang.model.element.AnnotationMirror mirror)
        Sets the annotation mirror
        Parameters:
        mirror - the mirror which this gem represents
        Returns:
        the NamedGem.Builder for this gem, representing NamedGem
      • build

        T build()
        The build method can be overriden in a custom custom implementation, which allows the user to define his own custom validation on the annotation.
        Returns:
        the representation of the annotation