All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.models.coverage.SourceCoverage Maven / Gradle / Ivy

There is a newer version: 2024.8.0
Show newest version
/**
 */
package org.nasdanika.models.coverage;

import org.eclipse.emf.common.util.EList;
import org.jacoco.core.analysis.ISourceNode;

/**
 * 
 * A representation of the model object 'Source Coverage'.
 * 
 *
 * 

* The following features are supported: *

*
    *
  • {@link org.nasdanika.models.coverage.SourceCoverage#getLines Lines}
  • *
* * @see org.nasdanika.models.coverage.CoveragePackage#getSourceCoverage() * @model * @generated */ public interface SourceCoverage extends Coverage { /** * Returns the value of the 'Lines' containment reference list. * The list contents are of type {@link org.nasdanika.models.coverage.Line}. * * * @return the value of the 'Lines' containment reference list. * @see org.nasdanika.models.coverage.CoveragePackage#getSourceCoverage_Lines() * @model containment="true" * @generated */ EList getLines(); default void load(ISourceNode data) { Coverage.super.load(data); EList lines = getLines(); for (int i = data.getFirstLine(); i <= data.getLastLine(); ++i) { lines.add(Line.load(data.getLine(i), i)); } } } // SourceCoverage




© 2015 - 2024 Weber Informatics LLC | Privacy Policy