if(elem.getArcheType() == EArcheType.Function) {
modifiers |= bitFlagForAttribute(elem, AttributeKinds.OVERRIDE, DefElementFlagConstants.FLAG_OVERRIDE);
}
if(elem instanceof ITemplatableElement) {
ITemplatableElement templatableElement = (ITemplatableElement) elem;
if(templatableElement.isTemplated()) {
modifiers |= DefElementFlagConstants.FLAG_TEMPLATED;
}
}
return modifiers;