blob: 55030cac309f65b678582dd36f38a179c169a215 [file] [log] [blame]
// Copyright (c) 2018, 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.utils.codeinspector;
import com.android.tools.r8.graph.DexEncodedMethod;
import java.util.Iterator;
import java.util.function.Predicate;
public abstract class MethodSubject extends MemberSubject {
public abstract boolean isAbstract();
public abstract boolean isBridge();
public abstract boolean isInstanceInitializer();
public abstract boolean isClassInitializer();
public abstract String getOriginalSignatureAttribute();
public abstract String getFinalSignatureAttribute();
public abstract DexEncodedMethod getMethod();
public Iterator<InstructionSubject> iterateInstructions() {
return null;
}
public <T extends InstructionSubject> Iterator<T> iterateInstructions(
Predicate<InstructionSubject> filter) {
return null;
}
public abstract boolean hasLineNumberTable();
public abstract boolean hasLocalVariableTable();
}