• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*******************************************************************************
2  * Copyright (c) 2009, 2015 Mountainminds GmbH & Co. KG and Contributors
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  *    Marc R. Hoffmann - initial API and implementation
10  *
11  *******************************************************************************/
12 package org.jacoco.core;
13 
14 import java.util.ResourceBundle;
15 
16 import org.objectweb.asm.Opcodes;
17 
18 /**
19  * Static Meta information about JaCoCo.
20  */
21 public final class JaCoCo {
22 
23 	/** Qualified build version of the JaCoCo core library. */
24 	public static final String VERSION;
25 
26 	/** Absolute URL of the current JaCoCo home page */
27 	public static final String HOMEURL;
28 
29 	/** Name of the runtime package of this build */
30 	public static final String RUNTIMEPACKAGE;
31 
32 	/** ASM API version */
33 	public static final int ASM_API_VERSION = Opcodes.ASM5;
34 
35 	static {
36 		final ResourceBundle bundle = ResourceBundle
37 				.getBundle("org.jacoco.core.jacoco");
38 		VERSION = bundle.getString("VERSION");
39 		HOMEURL = bundle.getString("HOMEURL");
40 		RUNTIMEPACKAGE = bundle.getString("RUNTIMEPACKAGE");
41 	}
42 
JaCoCo()43 	private JaCoCo() {
44 	}
45 
46 }
47