Package org.mapstruct.ap.internal.model
Class AdditionalAnnotationsBuilder
- java.lang.Object
- 
- org.mapstruct.ap.internal.util.RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,org.mapstruct.ap.internal.gem.AnnotateWithsGem,Annotation>
- 
- org.mapstruct.ap.internal.model.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
 
- 
- 
Constructor SummaryConstructors Constructor Description AdditionalAnnotationsBuilder(ElementUtils elementUtils, TypeFactory typeFactory, FormattingMessager messager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddInstance(org.mapstruct.ap.internal.gem.AnnotateWithGem gem, Element source, Set<Annotation> mappings)protected voidaddInstances(org.mapstruct.ap.internal.gem.AnnotateWithsGem gem, Element source, Set<Annotation> mappings)Set<Annotation>getProcessedAnnotations(Element source)Retrieves the processed annotations.protected org.mapstruct.ap.internal.gem.AnnotateWithsGemmultipleInstanceOn(Element element)protected org.mapstruct.ap.internal.gem.AnnotateWithGemsingularInstanceOn(Element element)
 
- 
- 
- 
Constructor Detail- 
AdditionalAnnotationsBuilderpublic AdditionalAnnotationsBuilder(ElementUtils elementUtils, TypeFactory typeFactory, FormattingMessager messager) 
 
- 
 - 
Method Detail- 
singularInstanceOnprotected org.mapstruct.ap.internal.gem.AnnotateWithGem singularInstanceOn(Element element) - Specified by:
- singularInstanceOnin 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.
 
 - 
multipleInstanceOnprotected org.mapstruct.ap.internal.gem.AnnotateWithsGem multipleInstanceOn(Element element) - Specified by:
- multipleInstanceOnin 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.
 
 - 
addInstanceprotected void addInstance(org.mapstruct.ap.internal.gem.AnnotateWithGem gem, Element source, Set<Annotation> mappings)- Specified by:
- addInstancein 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
 
 - 
addInstancesprotected void addInstances(org.mapstruct.ap.internal.gem.AnnotateWithsGem gem, Element source, Set<Annotation> mappings)- Specified by:
- addInstancesin 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
 
 - 
getProcessedAnnotationspublic Set<Annotation> getProcessedAnnotations(Element source) Description copied from class:RepeatableAnnotationsRetrieves the processed annotations.- Overrides:
- getProcessedAnnotationsin class- RepeatableAnnotations<org.mapstruct.ap.internal.gem.AnnotateWithGem,org.mapstruct.ap.internal.gem.AnnotateWithsGem,Annotation>
- Parameters:
- source- The source element of interest
- Returns:
- The processed annotations for the given element
 
 
- 
 
-