aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java')
-rw-r--r--org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java25
1 files changed, 13 insertions, 12 deletions
diff --git a/org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java b/org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java
index 784fbd82..2f99f0b1 100644
--- a/org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java
+++ b/org.jacoco.core/src/org/jacoco/core/analysis/CoverageBuilder.java
@@ -1,13 +1,14 @@
/*******************************************************************************
- * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * Copyright (c) 2009, 2021 Mountainminds GmbH & Co. KG and Contributors
+ * This program and the accompanying materials are made available under
+ * the terms of the Eclipse Public License 2.0 which is available at
+ * http://www.eclipse.org/legal/epl-2.0
+ *
+ * SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Marc R. Hoffmann - initial API and implementation
- *
+ *
*******************************************************************************/
package org.jacoco.core.analysis;
@@ -26,7 +27,7 @@ import org.jacoco.core.internal.analysis.SourceFileCoverageImpl;
* {@link ICoverageVisitor} interface. Afterwards the aggregated data can be
* obtained with {@link #getClasses()}, {@link #getSourceFiles()} or
* {@link #getBundle(String)} in the following hierarchy:
- *
+ *
* <pre>
* {@link IBundleCoverage}
* +-- {@link IPackageCoverage}*
@@ -42,7 +43,7 @@ public class CoverageBuilder implements ICoverageVisitor {
/**
* Create a new builder.
- *
+ *
*/
public CoverageBuilder() {
this.classes = new HashMap<String, IClassCoverage>();
@@ -51,7 +52,7 @@ public class CoverageBuilder implements ICoverageVisitor {
/**
* Returns all class nodes currently contained in this builder.
- *
+ *
* @return all class nodes
*/
public Collection<IClassCoverage> getClasses() {
@@ -60,7 +61,7 @@ public class CoverageBuilder implements ICoverageVisitor {
/**
* Returns all source file nodes currently contained in this builder.
- *
+ *
* @return all source file nodes
*/
public Collection<ISourceFileCoverage> getSourceFiles() {
@@ -69,7 +70,7 @@ public class CoverageBuilder implements ICoverageVisitor {
/**
* Creates a bundle from all nodes currently contained in this bundle.
- *
+ *
* @param name
* Name of the bundle
* @return bundle containing all classes and source files
@@ -81,7 +82,7 @@ public class CoverageBuilder implements ICoverageVisitor {
/**
* Returns all classes for which execution data does not match.
- *
+ *
* @see IClassCoverage#isNoMatch()
* @return collection of classes with non-matching execution data
*/