blob: b31d9847053b21809ec51a1ed9030bbfa390d953 [file] [log] [blame]
// Copyright (c) 2022, 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.retrace.internal;
public enum MappingPartitionKeyStrategy {
OBFUSCATED_TYPE_NAME_AS_KEY(0),
OBFUSCATED_TYPE_NAME_AS_KEY_WITH_PARTITIONS(1);
private static final MappingPartitionKeyStrategy DEFAULT_STRATEGY = OBFUSCATED_TYPE_NAME_AS_KEY;
private final int serializedKey;
MappingPartitionKeyStrategy(int serializedKey) {
this.serializedKey = serializedKey;
}
public int getSerializedKey() {
return serializedKey;
}
public static MappingPartitionKeyStrategy getDefaultStrategy() {
return DEFAULT_STRATEGY;
}
}