blob: 1b434ea92016fa184f59252c2be63f9d4260e693 [file] [log] [blame]
// Copyright (c) 2023, 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.verticalclassmerging;
import com.android.tools.r8.classmerging.MergeGroup;
import com.android.tools.r8.graph.DexProgramClass;
public class VerticalMergeGroup extends MergeGroup {
private final DexProgramClass source;
private final DexProgramClass target;
VerticalMergeGroup(DexProgramClass source, DexProgramClass target) {
this.source = source;
this.target = target;
}
public DexProgramClass getSource() {
return source;
}
public DexProgramClass getTarget() {
return target;
}
@Override
public int size() {
return 2;
}
}