blob: 7691bfa65cf5b9317e3477941d8f3e42be608093 [file] [log] [blame]
// Copyright (c) 2016, 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;
public abstract class Descriptor<T extends DexItem, S extends Descriptor<T,S>>
extends DexReference implements PresortedComparable<S> {
public abstract boolean match(T entry);
public abstract DexType getHolder();
@Override
public boolean isDescriptor() {
return true;
}
@Override
public Descriptor asDescriptor() {
return this;
}
}