Skip to content

Commit

Permalink
Fix annotation processing patterns (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher authored Mar 10, 2023
1 parent fd0c4a9 commit 212808b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public int getOrder() {
return IntrospectedTypeElementVisitor.POSITION + 10; // Should just before the introspected visitor
}

@Override
public Set<String> getSupportedAnnotationNames() {
return Set.of("jakarta.validation.*");
}

@NonNull
@Override
public VisitorKind getVisitorKind() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class ValidationVisitor implements TypeElementVisitor<Object, Object> {

@Override
public Set<String> getSupportedAnnotationNames() {
return Set.of(ANN_CONSTRAINT, ANN_VALID);
return Set.of("jakarta.validation.*");
}

@Override
Expand Down

0 comments on commit 212808b

Please sign in to comment.