Home | History | Annotate | Download | only in targets
      1 /*******************************************************************************
      2  * Copyright (c) 2009, 2018 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.test.validation.targets;
     13 
     14 import static org.jacoco.core.test.validation.targets.Stubs.f;
     15 import static org.jacoco.core.test.validation.targets.Stubs.t;
     16 
     17 import org.jacoco.core.test.validation.targets.Stubs.SuperClass;
     18 
     19 /**
     20  * This test target has a constructor containing control structures before the
     21  * superclass constructor is called.
     22  */
     23 public class Target10 extends SuperClass {
     24 
     25 	public Target10() {
     26 		super(t() || f()); // $line-super$
     27 	}
     28 
     29 	public static void main(String[] args) {
     30 		new Target10();
     31 	}
     32 
     33 }
     34