if(anotherProtectionAttribPresent(descendantNode)) {
continue; // Do not descend, other attrib takes precedence
}
if(descendantNode instanceof CommonDefinition) {
CommonDefinition def = (CommonDefinition) descendantNode;
def.setProtection(protection);
} else if(descendantNode instanceof DeclarationImport && protection == EProtection.PUBLIC) {
DeclarationImport declImport = (DeclarationImport) descendantNode;
declImport.isTransitive = true;
} else if(descendantNode instanceof INonScopedContainer) {
applyProtectionAttributes(protection, (INonScopedContainer) descendantNode);