blob: f51194ac2fb220f4beaee0ee4b1d6ba25e1fc0be [file] [log] [blame]
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.naming;
import com.android.tools.r8.graph.DexType;
import com.android.tools.r8.naming.mappinginformation.MapVersionMappingInformation;
import com.android.tools.r8.position.Position;
public interface ProguardMap {
abstract class Builder {
abstract ClassNaming.Builder classNamingBuilder(
String renamedName, String originalName, Position position);
abstract void addPreambleLine(String line);
abstract Builder setCurrentMapVersion(MapVersionMappingInformation mapVersion);
abstract Builder addFileName(String originalName, String fileName);
abstract ProguardMap build();
}
boolean hasMapping(DexType type);
ClassNaming getClassNaming(DexType type);
}