Package org.mapstruct.ap.internal.util
Class MetaAnnotations<G extends org.mapstruct.tools.gem.Gem,V>
java.lang.Object
org.mapstruct.ap.internal.util.MetaAnnotations<G,V>
- Type Parameters:
G- The type of the processed annotationV- The type of the underlying holder for the processed annotation
A base helper class that provides utility methods for working with meta annotations.
- Author:
- Filip Hrisafov
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMetaAnnotations(ElementUtils elementUtils, String annotationFqn) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddInstance(G gem, Element source, Set<V> values) getProcessedAnnotations(Element source) Retrieves the processed annotations.protected abstract GinstanceOn(Element element)
-
Constructor Details
-
MetaAnnotations
-
-
Method Details
-
getProcessedAnnotations
Retrieves the processed annotations.- Parameters:
source- The source element of interest- Returns:
- The processed annotations for the given element
-
instanceOn
-
addInstance
-