public abstract class ContextClassVisitor
extends org.objectweb.asm.ClassVisitor
ClassVisitor
that supplies contextual information, similar to a DynamicType
.
Reading auxiliary types or the loaded type initializer of this typeModifier | Constructor and Description |
---|---|
protected |
ContextClassVisitor(org.objectweb.asm.ClassVisitor classVisitor)
Creates a new context class visitor.
|
Modifier and Type | Method and Description |
---|---|
ContextClassVisitor |
active()
Allows this class visitor to result in auxiliary types or an active type initializer.
|
abstract List<DynamicType> |
getAuxiliaryTypes()
Returns the auxiliary types that this class visitor currently supplies.
|
abstract LoadedTypeInitializer |
getLoadedTypeInitializer()
Returns the loaded type initializer that this class visitor currently implies.
|
void |
visitEnd() |
protected ContextClassVisitor(org.objectweb.asm.ClassVisitor classVisitor)
classVisitor
- The class visitor to delegate to.public ContextClassVisitor active()
public abstract List<DynamicType> getAuxiliaryTypes()
public abstract LoadedTypeInitializer getLoadedTypeInitializer()
public void visitEnd()
visitEnd
in class org.objectweb.asm.ClassVisitor
Copyright © 2014–2023. All rights reserved.