throw new SearchException( "@NumericField without a @Field on property '" + member.getName() + "'" );
}
}
private void checkForContainedIn(XClass classHostingMember, XProperty member, PropertiesMetadata propertiesMetadata) {
ContainedIn containedAnn = member.getAnnotation( ContainedIn.class );
if ( containedAnn != null ) {
ReflectionHelper.setAccessible( member );
propertiesMetadata.containedInGetters.add( member );
//collection role in Hibernate is made of the actual hosting class of the member (see HSEARCH-780)
this.containedInCollectionRoles