Path: blob/master/debugtools/DDR_Autoblob/testsrc/TestPreProcessedSource.java
6000 views
import java.io.File;12import com.ibm.j9ddr.autoblob.linenumbers.PreProcessedSourceParser;34/*******************************************************************************5* Copyright (c) 2010, 2014 IBM Corp. and others6*7* This program and the accompanying materials are made available under8* the terms of the Eclipse Public License 2.0 which accompanies this9* distribution and is available at https://www.eclipse.org/legal/epl-2.0/10* or the Apache License, Version 2.0 which accompanies this distribution and11* is available at https://www.apache.org/licenses/LICENSE-2.0.12*13* This Source Code may also be made available under the following14* Secondary Licenses when the conditions for such availability set15* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU16* General Public License, version 2 with the GNU Classpath17* Exception [1] and GNU General Public License, version 2 with the18* OpenJDK Assembly Exception [2].19*20* [1] https://www.gnu.org/software/classpath/license.html21* [2] http://openjdk.java.net/legal/assembly-exception.html22*23* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception24*******************************************************************************/2526/**27* @author andhall28*29*/30public class TestPreProcessedSource31{3233/**34* @param args35*/36public static void main(String[] args) throws Exception37{38PreProcessedSourceParser p = new PreProcessedSourceParser(new File(args[0]),null);394041for (String simpleName : p.getFileMappings().keySet()) {42System.err.println("Mapping: " + simpleName + " to " + p.getFileMappings().get(simpleName));43}44}4546}474849