blob: d1e746340be3a848a2889d9e72bb0d90767231de [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 Builder setCurrentMapVersion(MapVersionMappingInformation mapVersion);
abstract ProguardMap build();
public boolean buildForClass(String typeName) {
return true;
}
}
boolean hasMapping(DexType type);
ClassNaming getClassNaming(DexType type);
}