public class RetargetableClassVisitor
extends org.objectweb.asm.ClassVisitor
The ClassVisitor constructor takes an optional ClassVisitor argument
to which all calls will be delegated. However, in some circumstances, ClassVisitor
derivatives may not be able to specify the delegate until after they have called
the ClassVisitor constructor themselves. In other words, they may not be able to
specify the delegate until *after* they have called super(). This version of the
ClassVisitor will support that via the use of the setDelegate(org.objectweb.asm.ClassVisitor)
method.
Constructor and Description |
---|
RetargetableClassVisitor(int api)
See
ClassVisitor(int) . |
RetargetableClassVisitor(int api,
org.objectweb.asm.ClassVisitor cv)
See
ClassVisitor(int, ClassVisitor) . |
Modifier and Type | Method and Description |
---|---|
protected void |
setDelegate(org.objectweb.asm.ClassVisitor cv)
Set the delegate for this ClassVisitor.
|
Copyright © 1970 The Apache Software Foundation. All rights reserved.