Class MetaAnnotations<G extends org.mapstruct.tools.gem.Gem,​V>


  • public abstract class MetaAnnotations<G extends org.mapstruct.tools.gem.Gem,​V>
    extends Object
    Author:
    Filip Hrisafov
    • Constructor Detail

      • MetaAnnotations

        protected MetaAnnotations​(ElementUtils elementUtils,
                                  String annotationFqn)
    • Method Detail

      • getProcessedAnnotations

        public Set<V> getProcessedAnnotations​(Element source)
        Retrieves the processed annotations.
        Parameters:
        source - The source element of interest
        Returns:
        The processed annotations for the given element
      • instanceOn

        protected abstract G instanceOn​(Element element)
      • addInstance

        protected abstract void addInstance​(G gem,
                                            Element source,
                                            Set<V> values)