blob: a5f58d253e6f5c0bce735f2d1ef012c5c4c277ae [file] [log] [blame]
// Copyright (c) 2020, 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.horizontalclassmerging;
import com.android.tools.r8.graph.DexProgramClass;
import java.util.Collection;
import java.util.List;
public abstract class PolicyExecutor {
/**
* Given an initial collection of class groups which can potentially be merged, run all of the
* policies registered to this policy executor on the class groups yielding a new collection of
* class groups.
*/
public abstract Collection<List<DexProgramClass>> run(
Collection<List<DexProgramClass>> classes, Collection<Policy> policies);
}