| // Copyright (c) 2017, 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.graph; |
| import com.android.tools.r8.Resource; |
| * Provides a way for delayed DexClass discovery. |
| * Provides minimal class details of the promised class and |
| * provides the class when asked by calling method get(). |
| * Note that DexClass also implements this interface, since it |
| * represents a 'materialized' promise for a class. |
| public interface DexClassPromise { |
| Resource.Kind getOrigin(); |
| boolean isProgramClass(); |
| boolean isClasspathClass(); |
| boolean isLibraryClass(); |