1 // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file 2 // for details. All rights reserved. Use of this source code is governed by a 3 // BSD-style license that can be found in the LICENSE file. 4 package com.android.tools.r8.graph; 5 6 public abstract class UseRegistry { 7 registerInvokeVirtual(DexMethod method)8 public abstract boolean registerInvokeVirtual(DexMethod method); 9 registerInvokeDirect(DexMethod method)10 public abstract boolean registerInvokeDirect(DexMethod method); 11 registerInvokeStatic(DexMethod method)12 public abstract boolean registerInvokeStatic(DexMethod method); 13 registerInvokeInterface(DexMethod method)14 public abstract boolean registerInvokeInterface(DexMethod method); 15 registerInvokeSuper(DexMethod method)16 public abstract boolean registerInvokeSuper(DexMethod method); 17 registerInstanceFieldWrite(DexField field)18 public abstract boolean registerInstanceFieldWrite(DexField field); 19 registerInstanceFieldRead(DexField field)20 public abstract boolean registerInstanceFieldRead(DexField field); 21 registerNewInstance(DexType type)22 public abstract boolean registerNewInstance(DexType type); 23 registerStaticFieldRead(DexField field)24 public abstract boolean registerStaticFieldRead(DexField field); 25 registerStaticFieldWrite(DexField field)26 public abstract boolean registerStaticFieldWrite(DexField field); 27 registerTypeReference(DexType type)28 public abstract boolean registerTypeReference(DexType type); 29 } 30