blob: d326609d0d99719fae53e35e5adfcb5042c60116 [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.retrace;
import com.android.tools.r8.Keep;
import java.util.List;
@Keep
public interface RetraceStackTraceProxy<T, ST extends StackTraceElementProxy<T, ST>>
extends Comparable<RetraceStackTraceProxy<T, ST>> {
boolean isAmbiguous();
boolean isTopFrame();
boolean hasRetracedClass();
boolean hasRetracedMethod();
boolean hasRetracedField();
boolean hasSourceFile();
boolean hasLineNumber();
boolean hasFieldOrReturnType();
boolean hasMethodArguments();
ST getOriginalItem();
RetracedClassReference getRetracedClass();
RetracedMethodReference getRetracedMethod();
RetracedFieldReference getRetracedField();
RetracedTypeReference getRetracedFieldOrReturnType();
List<RetracedTypeReference> getMethodArguments();
String getSourceFile();
int getLineNumber();
}