Class AdditionalAnnotationsBuilder


  • public class AdditionalAnnotationsBuilder
    extends RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
    Since:
    1.5
    Author:
    Ben Zegveld
    • Method Detail

      • singularInstanceOn

        protected org.mapstruct.ap.internal.gem.AnnotateWithGem singularInstanceOn​(Element element)
        Specified by:
        singularInstanceOn in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        Parameters:
        element - the element on which the Gem needs to be found
        Returns:
        the Gem found on the element.
      • multipleInstanceOn

        protected org.mapstruct.ap.internal.gem.AnnotateWithsGem multipleInstanceOn​(Element element)
        Specified by:
        multipleInstanceOn in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        Parameters:
        element - the element on which the Gems needs to be found
        Returns:
        the Gems found on the element.
      • addInstance

        protected void addInstance​(org.mapstruct.ap.internal.gem.AnnotateWithGem gem,
                                   Element source,
                                   Set<Annotation> mappings)
        Specified by:
        addInstance in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        Parameters:
        gem - the annotation gem to be processed
        source - the source element where the request originated from
        mappings - the collection of completed processing
      • addInstances

        protected void addInstances​(org.mapstruct.ap.internal.gem.AnnotateWithsGem gem,
                                    Element source,
                                    Set<Annotation> mappings)
        Specified by:
        addInstances in class RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,​org.mapstruct.ap.internal.gem.AnnotateWithsGem,​Annotation>
        Parameters:
        gem - the annotation gems to be processed
        source - the source element where the request originated from
        mappings - the collection of completed processing