|
57 | 57 | import org.hibernate.metamodel.internal.source.annotations.util.JandexHelper;
|
58 | 58 | import org.hibernate.metamodel.spi.binding.SingularAttributeBinding;
|
59 | 59 | import org.hibernate.metamodel.spi.source.MappingException;
|
60 |
| -import org.hibernate.validator.util.ReflectionHelper; |
61 | 60 | import org.jboss.jandex.AnnotationInstance;
|
62 | 61 | import org.jboss.jandex.AnnotationTarget;
|
63 | 62 | import org.jboss.jandex.ClassInfo;
|
@@ -323,7 +322,7 @@ private boolean isPersistentMember(Set<String> transientNames, Set<String> expli
|
323 | 322 | return false;
|
324 | 323 | }
|
325 | 324 |
|
326 |
| - if ( explicitlyConfiguredMemberNames.contains( ReflectionHelper.getPropertyName( member ) ) ) { |
| 325 | + if ( explicitlyConfiguredMemberNames.contains( ReflectHelper.getPropertyName( member ) ) ) { |
327 | 326 | return false;
|
328 | 327 | }
|
329 | 328 |
|
@@ -396,7 +395,7 @@ private Set<String> createExplicitlyConfiguredAccessProperties(ResolvedTypeWithM
|
396 | 395 | }
|
397 | 396 | if ( ReflectHelper.isProperty( member ) ) {
|
398 | 397 | createMappedAttribute( member, resolvedMembers, accessType );
|
399 |
| - explicitAccessPropertyNames.add( ReflectionHelper.getPropertyName( member ) ); |
| 398 | + explicitAccessPropertyNames.add( ReflectHelper.getPropertyName( member ) ); |
400 | 399 | }
|
401 | 400 | }
|
402 | 401 | return explicitAccessPropertyNames;
|
@@ -437,7 +436,7 @@ private void checkExplicitJpaAttributeAccessAnnotationPlacedCorrectly(Annotation
|
437 | 436 | }
|
438 | 437 |
|
439 | 438 | private void createMappedAttribute(Member member, ResolvedTypeWithMembers resolvedType, AccessType accessType) {
|
440 |
| - final String attributeName = ReflectionHelper.getPropertyName( member ); |
| 439 | + final String attributeName = ReflectHelper.getPropertyName( member ); |
441 | 440 | final ResolvedMember[] resolvedMembers = Field.class.isInstance( member ) ? resolvedType.getMemberFields() : resolvedType
|
442 | 441 | .getMemberMethods();
|
443 | 442 | ResolvedMember resolvedMember = findResolvedMember( member.getName(), resolvedMembers );
|
@@ -581,7 +580,7 @@ private EmbeddableClass resolveEmbeddable(String attributeName, Class<?> type, M
|
581 | 580 | * Given the annotations defined on a persistent attribute this methods determines the attribute type.
|
582 | 581 | *
|
583 | 582 | * @param annotations the annotations defined on the persistent attribute
|
584 |
| - * @param type the attribute's type |
| 583 | + * @param attributeType the attribute's type |
585 | 584 | * @param referencedCollectionType the type of the collection element in case the attribute is collection valued
|
586 | 585 | *
|
587 | 586 | * @return an instance of the {@code AttributeType} enum
|
|
0 commit comments