DomElement (DomElement element) { final DomElement annotation = getScopeFromAnnotation(element); if (annotation != null) return annotation; final List<JavaMethod> methods = DomUtil.getFixedPath(element.getParent()); if (methods == null) return super.getIdentityScope(element); final DomFileElement<T> root = DomUtil.getFileElement(element); Object o = getMergedRoot(root); for (final JavaMethod method : methods) { o = method.invoke(o, ArrayUtilRt.EMPTY_OBJECT_ARRAY); } return (DomElement)o; }