Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2019 Eclipse Krazo committers and contributors
* Copyright (c) 2018, 2025 Eclipse Krazo committers and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -94,10 +94,12 @@ private boolean isHibernateValidatorMarkerAnnotation(Class clazz) {
/*
* May be one of these classes depending on the exact Hibernate Validator version:
* org.hibernate.validator.cdi.internal.interceptor.MethodValidated
* org.hibernate.validator.cdi.interceptor.internal.MethodValidated
* org.hibernate.validator.internal.cdi.interceptor.MethodValidated
*/
return clazz.getName().startsWith("org.hibernate.validator.")
&& clazz.getName().endsWith(".interceptor.MethodValidated");
&& (clazz.getName().endsWith(".interceptor.MethodValidated")
|| clazz.getName().endsWith(".interceptor.internal.MethodValidated"));
}

}