Here you can find the source of getFileName(Class cls, String ext)
protected static String getFileName(Class cls, String ext)
//package com.java2s; /******************************************************************************* * Copyright (c) 2005-2011 eBay Inc./*from w w w . ja v a 2 s .com*/ * 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 * *******************************************************************************/ import java.io.File; public class Main { private static final File CODEGENDIR = new File("CODEGEN"); protected static String getFileName(Class cls, String ext) { return new File(CODEGENDIR, cls.getSimpleName() + ext).getAbsolutePath(); } }