DependencyScope (@NotNull Element element) { String scope = element.getAttributeValue(SCOPE_ATTR); if (scope != null) { try { return valueOf(scope); } catch (IllegalArgumentException e) { return COMPILE; } } else { return COMPILE; } }