[hibernate-issues] [Hibernate-JIRA] (BVAL-442) Consider to make getConstrainedMethods(MethodType... methodTypes) less error-prone