Boolean.TRUE : //default to property and fallback if needed
isExplicitPropertyAnnotated;
String accessType = explicitAccessType != null ? explicitAccessType : "property";
for ( int index = 0; index < deep ; index++ ) {
XClass clazz = classesToProcess.get( index );
boolean currentHasIdentifier = addElementsOfAClass(
elements, propertyHolder, isPropertyAnnotated,
accessType, clazz, mappings
);
hasIdentifier = hasIdentifier || currentHasIdentifier;
}
if ( !hasIdentifier && !inheritanceState.hasParents ) {
if ( isExplicitPropertyAnnotated != null ) return null; //explicit but no @Id
isPropertyAnnotated = !isPropertyAnnotated;
accessType = "field";
elements.clear();
for ( int index = 0; index < deep ; index++ ) {
XClass clazz = classesToProcess.get( index );
boolean currentHasIdentifier = addElementsOfAClass(
elements, propertyHolder, isPropertyAnnotated,
accessType, clazz, mappings
);
hasIdentifier = hasIdentifier || currentHasIdentifier;