blob: 3427924275d78fb20a0737d204c1eaabf69ba82d [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.dexinspector;
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;
}
}