ComponentDependencies () { String componentName = assertNotNull(readString(reader, "name")); DependencyScopeNode compileDependencies = (DependencyScopeNode)assertNotNull(readDependencyNode(reader, context, "compile")); DependencyScopeNode runtimeDependencies = (DependencyScopeNode)assertNotNull(readDependencyNode(reader, context, "runtime")); return new ComponentDependenciesImpl(componentName, compileDependencies, runtimeDependencies); }