blob: f0ba1b6eef1a5a077db8658f5c45a693b4e539c0 [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(S entry);
public abstract boolean match(T entry);
@Override
public boolean isDescriptor() {
return true;
}
@Override
public Descriptor asDescriptor() {
return this;
}
}