Package: EmfParsleyDslImplicitlyImportedFeatures

EmfParsleyDslImplicitlyImportedFeatures

nameinstructionbranchcomplexitylinemethod
EmfParsleyDslImplicitlyImportedFeatures()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getExtensionClasses()
M: 0 C: 19
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /**
2: * Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) and others.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * Lorenzo Bettini - initial API and implementation
10: */
11: package org.eclipse.emf.parsley.dsl.scoping;
12:
13: import com.google.common.collect.Iterables;
14: import java.util.Collections;
15: import java.util.List;
16: import org.eclipse.emf.parsley.util.DatabindingUtil;
17: import org.eclipse.swt.widgets.Widget;
18: import org.eclipse.xtext.xbase.lib.CollectionLiterals;
19: import org.eclipse.xtext.xbase.lib.IterableExtensions;
20: import org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures;
21:
22: @SuppressWarnings("all")
23: public class EmfParsleyDslImplicitlyImportedFeatures extends ImplicitlyImportedFeatures {
24: @Override
25: protected List<Class<?>> getExtensionClasses() {
26: List<Class<?>> _extensionClasses = super.getExtensionClasses();
27: return IterableExtensions.<Class<?>>toList(Iterables.<Class<?>>concat(_extensionClasses, Collections.<Class<?>>unmodifiableList(CollectionLiterals.<Class<?>>newArrayList(Widget.class, DatabindingUtil.class))));
28: }
29: }