blob: e88239bd82daca6f187f4d7d192a3b0b660037c2 [file] [log] [blame]
// Copyright (c) 2021, 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.ir.optimize.enums.classification;
import com.android.tools.r8.graph.RewrittenPrototypeDescription.ArgumentInfoCollection;
public final class UnknownEnumUnboxerMethodClassification extends EnumUnboxerMethodClassification {
private static final UnknownEnumUnboxerMethodClassification INSTANCE =
new UnknownEnumUnboxerMethodClassification();
private UnknownEnumUnboxerMethodClassification() {}
static UnknownEnumUnboxerMethodClassification getInstance() {
return INSTANCE;
}
@Override
public EnumUnboxerMethodClassification fixupAfterParameterRemoval(
ArgumentInfoCollection removedParameters) {
return this;
}
@Override
public boolean isUnknownClassification() {
return true;
}
}