blob: 172f334154c9f180c46f07cae1c1f780c6b8f300 [file] [log] [blame]
// Copyright (c) 2019, 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.transformers;
import static com.android.tools.r8.utils.InternalOptions.ASM_VERSION;
import org.objectweb.asm.ClassVisitor;
/**
* Class for transforming the content of a class.
*
* <p>This is just a simple wrapper on the ASM ClassVisitor interface.
*/
public class ClassTransformer extends ClassVisitor {
public ClassTransformer() {
super(ASM_VERSION, null);
}
// Package internals.
void setSubVisitor(ClassVisitor visitor) {
this.cv = visitor;
}
}