blob: 5d8332e2e494b01e0ea3acc8f46be86a9757918d [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.retrace;
import com.android.tools.r8.Keep;
import java.util.List;
import java.util.function.BiConsumer;
@Keep
public interface RetraceFrameElement extends RetraceElement<RetraceFrameResult> {
boolean isUnknown();
RetracedMethodReference getTopFrame();
RetraceClassElement getClassElement();
void visitAllFrames(BiConsumer<RetracedMethodReference, Integer> consumer);
void visitNonCompilerSynthesizedFrames(BiConsumer<RetracedMethodReference, Integer> consumer);
RetraceSourceFileResult retraceSourceFile(RetracedClassMemberReference frame, String sourceFile);
List<? extends RetracedMethodReference> getOuterFrames();
}