1bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller/* 2bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * Copyright (C) 2015 The Android Open Source Project 3bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * 4bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * Licensed under the Apache License, Version 2.0 (the "License"); 5bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * you may not use this file except in compliance with the License. 6bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * You may obtain a copy of the License at 7bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * 8bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * http://www.apache.org/licenses/LICENSE-2.0 9bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * 10bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * Unless required by applicable law or agreed to in writing, software 11bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * distributed under the License is distributed on an "AS IS" BASIS, 12bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * See the License for the specific language governing permissions and 14bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * limitations under the License. 15bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller */ 16bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fullerpackage com.google.currysrc.api.output; 17bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller 18bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fullerimport org.eclipse.jdt.core.dom.CompilationUnit; 19bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller 20bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fullerimport java.io.File; 21bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller 22bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller/** 23bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller * Generates the name of the file to write for a given {@link CompilationUnit}. 24bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller */ 25bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fullerpublic interface OutputSourceFileGenerator { 26bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller 2793cf604e9dd0525f15bc0a7450b2a35f3884c298Neil Fuller File generate(CompilationUnit cu, File inputFile); 28bb8f95bc32b7eaa43c162dc6687276fb34d9c49cNeil Fuller} 29