blob: 20cd0754abfccfb4e2cc7c2cd30f9bd91a6b0179 [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.synthesis;
import com.android.tools.r8.ProgramResource.Kind;
import com.android.tools.r8.graph.ClassKind;
import com.android.tools.r8.graph.DexClasspathClass;
import com.android.tools.r8.graph.DexItemFactory;
import com.android.tools.r8.graph.DexType;
public class SyntheticClasspathClassBuilder
extends SyntheticClassBuilder<SyntheticClasspathClassBuilder, DexClasspathClass> {
SyntheticClasspathClassBuilder(
DexType type, SynthesizingContext context, DexItemFactory factory) {
super(type, context, factory);
setOriginKind(Kind.CF);
}
@Override
public ClassKind<DexClasspathClass> getClassKind() {
return ClassKind.CLASSPATH;
}
@Override
public SyntheticClasspathClassBuilder self() {
return this;
}
}