Class SubclassValidator
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.SubclassValidator
-
public class SubclassValidator extends Object
Handles the validation of multiple @SubclassMapping annotations on the same method.- Author:
- Ben Zegveld
-
-
Constructor Summary
Constructors Constructor Description SubclassValidator(FormattingMessager messager, TypeUtils typeUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidUsage(Element e, AnnotationMirror annotation, TypeMirror sourceType)
-
-
-
Constructor Detail
-
SubclassValidator
public SubclassValidator(FormattingMessager messager, TypeUtils typeUtils)
-
-
Method Detail
-
isValidUsage
public boolean isValidUsage(Element e, AnnotationMirror annotation, TypeMirror sourceType)
-
-