blob: 5785d0a64b92ec3a845e61df207a0c10f9903c5c [file] [log] [blame]
// Copyright (c) 2020, 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.identifiernamestring;
import com.android.tools.r8.graph.DexType;
import com.android.tools.r8.utils.InternalOptions;
public class ClassForNameIdentifierNameStringLookupResult
extends IdentifierNameStringTypeLookupResult {
ClassForNameIdentifierNameStringLookupResult(DexType type) {
super(type);
}
@Override
public boolean isTypeInitializedFromUse() {
return true;
}
@Override
public boolean isTypeCompatInstantiatedFromUse(InternalOptions options) {
return options.isForceProguardCompatibilityEnabled();
}
}