test_class.file: opendse-model/src/test/java/net/sf/opendse/model/ModelsTest.java
test_class.identifier: ModelsTest
test_case.body: @Test
  	public void copyWithDependencies() {
  		Application<Task, Dependency> app = new Application<Task, Dependency>();
  		Task task1 = new Task("t1");
  		Task task2 = new Task("t2");
  		Dependency dependency = new Dependency("d");
  		app.addVertex(task1);
  		app.addVertex(task2);
  		app.addEdge(dependency, task1, task2);
  
  		Architecture<Resource, Link> arch = new Architecture<Resource, Link>();
  
  		Mappings<Task, Resource> mappings = new Mappings<Task, Resource>();
  
  		Specification spec = new Specification(app, arch, mappings);
  		Specification spec2 = Models.copy(spec);
  
  		Assert.assertEquals(2, spec2.getApplication().getVertexCount());
  		Assert.assertTrue(spec2.getApplication().containsVertex(task1));
  		Assert.assertTrue(spec2.getApplication().containsVertex(task2));
  		Assert.assertTrue(spec2.getApplication().isNeighbor(task1, task2));
  	}
test_case.class_method_signature: ModelsTest.copyWithDependencies()
test_case.full_signature: @Test public void copyWithDependencies()
test_case.identifier: copyWithDependencies
test_case.invocations: addVertex addVertex addEdge copy assertEquals getVertexCount getApplication assertTrue containsVertex getApplication assertTrue containsVertex getApplication assertTrue isNeighbor getApplication
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void copyWithDependencies()
focal_class.declarator: isCommunicationPredicate = new IsCommunicationPredicate()
focal_class.modifier: protected static
focal_class.original_string: protected static IsCommunicationPredicate isCommunicationPredicate = new IsCommunicationPredicate();
focal_class.type: IsCommunicationPredicate
focal_class.var_name: isCommunicationPredicate
focal_class.declarator: isProcessPredicate = new IsProcessPredicate()
focal_class.modifier: protected static
focal_class.original_string: protected static IsProcessPredicate isProcessPredicate = new IsProcessPredicate();
focal_class.type: IsProcessPredicate
focal_class.var_name: isProcessPredicate
focal_class.file: opendse-model/src/main/java/net/sf/opendse/model/Models.java
focal_class.identifier: Models
focal_class.class_method_signature: Models.filterCommunications(final Iterable<Task> iterable)
focal_class.full_signature: public static Iterable<Task> filterCommunications(final Iterable<Task> iterable)
focal_class.identifier: filterCommunications
focal_class.modifiers: public static
focal_class.parameters: (final Iterable<Task> iterable)
focal_class.return: Iterable<Task>
focal_class.signature: Iterable<Task> filterCommunications(final Iterable<Task> iterable)
focal_class.class_method_signature: Models.filterProcesses(final Iterable<Task> iterable)
focal_class.full_signature: public static Iterable<Task> filterProcesses(final Iterable<Task> iterable)
focal_class.identifier: filterProcesses
focal_class.modifiers: public static
focal_class.parameters: (final Iterable<Task> iterable)
focal_class.return: Iterable<Task>
focal_class.signature: Iterable<Task> filterProcesses(final Iterable<Task> iterable)
focal_class.class_method_signature: Models.isProcess(Task task)
focal_class.full_signature: public static boolean isProcess(Task task)
focal_class.identifier: isProcess
focal_class.modifiers: public static
focal_class.parameters: (Task task)
focal_class.return: boolean
focal_class.signature: boolean isProcess(Task task)
focal_class.class_method_signature: Models.isCommunication(Task task)
focal_class.full_signature: public static boolean isCommunication(Task task)
focal_class.identifier: isCommunication
focal_class.modifiers: public static
focal_class.parameters: (Task task)
focal_class.return: boolean
focal_class.signature: boolean isCommunication(Task task)
focal_class.class_method_signature: Models.getOutLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.full_signature: public static List<DirectedLink> getOutLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.identifier: getOutLinks
focal_class.modifiers: public static
focal_class.parameters: (Architecture<Resource, Link> architecture, Resource r0)
focal_class.return: List<DirectedLink>
focal_class.signature: List<DirectedLink> getOutLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.class_method_signature: Models.getInLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.full_signature: public static List<DirectedLink> getInLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.identifier: getInLinks
focal_class.modifiers: public static
focal_class.parameters: (Architecture<Resource, Link> architecture, Resource r0)
focal_class.return: List<DirectedLink>
focal_class.signature: List<DirectedLink> getInLinks(Architecture<Resource, Link> architecture, Resource r0)
focal_class.class_method_signature: Models.getLinks(Architecture<Resource, Link> architecture)
focal_class.full_signature: public static List<DirectedLink> getLinks(Architecture<Resource, Link> architecture)
focal_class.identifier: getLinks
focal_class.modifiers: public static
focal_class.parameters: (Architecture<Resource, Link> architecture)
focal_class.return: List<DirectedLink>
focal_class.signature: List<DirectedLink> getLinks(Architecture<Resource, Link> architecture)
focal_class.class_method_signature: Models.getLinks(Architecture<Resource, Link> architecture, Link link)
focal_class.full_signature: public static List<DirectedLink> getLinks(Architecture<Resource, Link> architecture, Link link)
focal_class.identifier: getLinks
focal_class.modifiers: public static
focal_class.parameters: (Architecture<Resource, Link> architecture, Link link)
focal_class.return: List<DirectedLink>
focal_class.signature: List<DirectedLink> getLinks(Architecture<Resource, Link> architecture, Link link)
focal_class.class_method_signature: Models.getElementsMap(Specification specification)
focal_class.full_signature: public static Map<String, Element> getElementsMap(Specification specification)
focal_class.identifier: getElementsMap
focal_class.modifiers: public static
focal_class.parameters: (Specification specification)
focal_class.return: Map<String, Element>
focal_class.signature: Map<String, Element> getElementsMap(Specification specification)
focal_class.class_method_signature: Models.getElements(Specification specification)
focal_class.full_signature: public static Set<Element> getElements(Specification specification)
focal_class.identifier: getElements
focal_class.modifiers: public static
focal_class.parameters: (Specification specification)
focal_class.return: Set<Element>
focal_class.signature: Set<Element> getElements(Specification specification)
focal_class.class_method_signature: Models.filterType(final Iterable<E> iterable, final String... types)
focal_class.full_signature: public static Iterable<E> filterType(final Iterable<E> iterable, final String... types)
focal_class.identifier: filterType
focal_class.modifiers: public static
focal_class.parameters: (final Iterable<E> iterable, final String... types)
focal_class.return: Iterable<E>
focal_class.signature: Iterable<E> filterType(final Iterable<E> iterable, final String... types)
focal_class.class_method_signature: Models.copy(Specification specification)
focal_class.full_signature: public static Specification copy(Specification specification)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (Specification specification)
focal_class.return: Specification
focal_class.signature: Specification copy(Specification specification)
focal_class.class_method_signature: Models.copyRoutings(Application<Task, Dependency> sApplication,
  			Routings<Task, Resource, Link> sRoutings, Application<Task, Dependency> iApplication,
  			Architecture<Resource, Link> iArchitecture)
focal_class.full_signature: public static Routings<Task, Resource, Link> copyRoutings(Application<Task, Dependency> sApplication,
  			Routings<Task, Resource, Link> sRoutings, Application<Task, Dependency> iApplication,
  			Architecture<Resource, Link> iArchitecture)
focal_class.identifier: copyRoutings
focal_class.modifiers: public static
focal_class.parameters: (Application<Task, Dependency> sApplication,
  			Routings<Task, Resource, Link> sRoutings, Application<Task, Dependency> iApplication,
  			Architecture<Resource, Link> iArchitecture)
focal_class.return: Routings<Task, Resource, Link>
focal_class.signature: Routings<Task, Resource, Link> copyRoutings(Application<Task, Dependency> sApplication,
  			Routings<Task, Resource, Link> sRoutings, Application<Task, Dependency> iApplication,
  			Architecture<Resource, Link> iArchitecture)
focal_class.class_method_signature: Models.copyMappings(Mappings<Task, Resource> sMappings,
  			Architecture<Resource, Link> iArchitecture, Application<Task, Dependency> iApplication)
focal_class.full_signature: public static Mappings<Task, Resource> copyMappings(Mappings<Task, Resource> sMappings,
  			Architecture<Resource, Link> iArchitecture, Application<Task, Dependency> iApplication)
focal_class.identifier: copyMappings
focal_class.modifiers: public static
focal_class.parameters: (Mappings<Task, Resource> sMappings,
  			Architecture<Resource, Link> iArchitecture, Application<Task, Dependency> iApplication)
focal_class.return: Mappings<Task, Resource>
focal_class.signature: Mappings<Task, Resource> copyMappings(Mappings<Task, Resource> sMappings,
  			Architecture<Resource, Link> iArchitecture, Application<Task, Dependency> iApplication)
focal_class.class_method_signature: Models.copy(Application<Task, Dependency> sApplication)
focal_class.full_signature: public static Application<Task, Dependency> copy(Application<Task, Dependency> sApplication)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (Application<Task, Dependency> sApplication)
focal_class.return: Application<Task, Dependency>
focal_class.signature: Application<Task, Dependency> copy(Application<Task, Dependency> sApplication)
focal_class.class_method_signature: Models.copy(Architecture<Resource, Link> sArchitecture)
focal_class.full_signature: public static Architecture<Resource, Link> copy(Architecture<Resource, Link> sArchitecture)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (Architecture<Resource, Link> sArchitecture)
focal_class.return: Architecture<Resource, Link>
focal_class.signature: Architecture<Resource, Link> copy(Architecture<Resource, Link> sArchitecture)
focal_class.class_method_signature: Models.copy(Element element)
focal_class.full_signature: @SuppressWarnings("unchecked") public static E copy(Element element)
focal_class.identifier: copy
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Element element)
focal_class.return: E
focal_class.signature: E copy(Element element)
focal_class.class_method_signature: Models.copy(Mapping<?, ?> mapping)
focal_class.full_signature: @SuppressWarnings("unchecked") public static M copy(Mapping<?, ?> mapping)
focal_class.identifier: copy
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Mapping<?, ?> mapping)
focal_class.return: M
focal_class.signature: M copy(Mapping<?, ?> mapping)
focal_class.class_method_signature: Models.setAttributes(IAttributes e, Attributes attributes)
focal_class.full_signature: public static void setAttributes(IAttributes e, Attributes attributes)
focal_class.identifier: setAttributes
focal_class.modifiers: public static
focal_class.parameters: (IAttributes e, Attributes attributes)
focal_class.return: void
focal_class.signature: void setAttributes(IAttributes e, Attributes attributes)
focal_class.class_method_signature: Models.clone(Specification specification)
focal_class.full_signature: public static Specification clone(Specification specification)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (Specification specification)
focal_class.return: Specification
focal_class.signature: Specification clone(Specification specification)
focal_class.class_method_signature: Models.clone(Application<T, D> sApplication)
focal_class.full_signature: public static Application<T, D> clone(Application<T, D> sApplication)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (Application<T, D> sApplication)
focal_class.return: Application<T, D>
focal_class.signature: Application<T, D> clone(Application<T, D> sApplication)
focal_class.class_method_signature: Models.clone(Architecture<R, L> sArchitecture)
focal_class.full_signature: public static Architecture<R, L> clone(Architecture<R, L> sArchitecture)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (Architecture<R, L> sArchitecture)
focal_class.return: Architecture<R, L>
focal_class.signature: Architecture<R, L> clone(Architecture<R, L> sArchitecture)
focal_class.class_method_signature: Models.filterByResources(Specification specification, Collection<Resource> resources)
focal_class.full_signature: public static void filterByResources(Specification specification, Collection<Resource> resources)
focal_class.identifier: filterByResources
focal_class.modifiers: public static
focal_class.parameters: (Specification specification, Collection<Resource> resources)
focal_class.return: void
focal_class.signature: void filterByResources(Specification specification, Collection<Resource> resources)
focal_class.class_method_signature: Models.filter(Specification specification, Collection<Function<Task, Dependency>> functions)
focal_class.full_signature: public static void filter(Specification specification, Collection<Function<Task, Dependency>> functions)
focal_class.identifier: filter
focal_class.modifiers: public static
focal_class.parameters: (Specification specification, Collection<Function<Task, Dependency>> functions)
focal_class.return: void
focal_class.signature: void filter(Specification specification, Collection<Function<Task, Dependency>> functions)
focal_class.class_method_signature: Models.filterByFunctionName(Specification specification, Collection<String> functions)
focal_class.full_signature: public static void filterByFunctionName(Specification specification, Collection<String> functions)
focal_class.identifier: filterByFunctionName
focal_class.modifiers: public static
focal_class.parameters: (Specification specification, Collection<String> functions)
focal_class.return: void
focal_class.signature: void filterByFunctionName(Specification specification, Collection<String> functions)
focal_class.class_method_signature: Models.filterByFunctionName(Specification specification, String... functions)
focal_class.full_signature: public static void filterByFunctionName(Specification specification, String... functions)
focal_class.identifier: filterByFunctionName
focal_class.modifiers: public static
focal_class.parameters: (Specification specification, String... functions)
focal_class.return: void
focal_class.signature: void filterByFunctionName(Specification specification, String... functions)
focal_method.body: public static Specification copy(Specification specification) {
  		Architecture<Resource, Link> sArchitecture = specification.getArchitecture();
  		Application<Task, Dependency> sApplication = specification.getApplication();
  		Mappings<Task, Resource> sMappings = specification.getMappings();
  		Routings<Task, Resource, Link> sRoutings = specification.getRoutings();
  
  		Architecture<Resource, Link> iArchitecture = copy(sArchitecture);
  		Application<Task, Dependency> iApplication = copy(sApplication);
  		Mappings<Task, Resource> iMappings = copyMappings(sMappings, iArchitecture, iApplication);
  		Routings<Task, Resource, Link> iRoutings = copyRoutings(sApplication, sRoutings, iApplication, iArchitecture);
  
  		return new Specification(iApplication, iArchitecture, iMappings, iRoutings);
  	}
focal_method.class_method_signature: Models.copy(Specification specification)
focal_method.full_signature: public static Specification copy(Specification specification)
focal_method.identifier: copy
focal_method.invocations: getArchitecture getApplication getMappings getRoutings copy copy copyMappings copyRoutings
focal_method.modifiers: public static
focal_method.parameters: (Specification specification)
focal_method.return: Specification
focal_method.signature: Specification copy(Specification specification)