blob: ca060810b8fb9edb87e446f1be93aeab2393154d [file] [log] [blame]
// Copyright (c) 2019, 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.analysis.proto.schema;
import com.android.tools.r8.graph.AppView;
import com.android.tools.r8.ir.code.IRCode;
import com.android.tools.r8.ir.code.Instruction;
public abstract class ProtoObject {
public abstract Instruction buildIR(AppView<?> appView, IRCode code);
public boolean isDeadProtoFieldObject() {
return false;
}
public boolean isProtoFieldObject() {
return false;
}
public ProtoFieldObject asProtoFieldObject() {
return null;
}
public boolean isProtoTypeObject() {
return false;
}
public ProtoTypeObject asProtoTypeObject() {
return null;
}
}