Uses of Class
org.datanucleus.enhancer.asm.ClassVisitor
Packages that use ClassVisitor
Package
Description
DataNucleus ByteCode enhancer framework.
ASM : a small and fast bytecode manipulation framework.
-
Uses of ClassVisitor in org.datanucleus.enhancer
Subclasses of ClassVisitor in org.datanucleus.enhancerModifier and TypeClassDescriptionstatic class
Convenience class to look up the class name for a file.class
Adapter visitor class for providing enhancement of an existing class using ASM.class
Visitor used to check the enhancement state of a class.Methods in org.datanucleus.enhancer with parameters of type ClassVisitorModifier and TypeMethodDescriptionvoid
ClassMethod.initialise
(ClassVisitor classVisitor) Method to initialise the class method.Constructors in org.datanucleus.enhancer with parameters of type ClassVisitorModifierConstructorDescriptionEnhancerClassAdapter
(ClassVisitor cv, ClassEnhancer enhancer) Constructor.EnhancerCloneAdapter
(MethodVisitor mv, ClassEnhancer enhancer, ClassVisitor cv) Constructor for the clone adapter.EnhancerPropertyGetterAdapter
(MethodVisitor mv, ClassEnhancer enhancer, String methodName, String methodDesc, AbstractMemberMetaData mmd, ClassVisitor cv) Constructor for the method adapter.EnhancerPropertySetterAdapter
(MethodVisitor mv, ClassEnhancer enhancer, String methodName, String methodDesc, AbstractMemberMetaData mmd, ClassVisitor cv) Constructor for the method adapter. -
Uses of ClassVisitor in org.datanucleus.enhancer.asm
Subclasses of ClassVisitor in org.datanucleus.enhancer.asmModifier and TypeClassDescriptionclass
AClassVisitor
that generates a corresponding ClassFile structure, as defined in the Java Virtual Machine Specification (JVMS).Fields in org.datanucleus.enhancer.asm declared as ClassVisitorModifier and TypeFieldDescriptionprotected ClassVisitor
ClassVisitor.cv
The class visitor to which this visitor must delegate method calls.Methods in org.datanucleus.enhancer.asm that return ClassVisitorModifier and TypeMethodDescriptionClassVisitor.getDelegate()
The class visitor to which this visitor must delegate method calls.Methods in org.datanucleus.enhancer.asm with parameters of type ClassVisitorModifier and TypeMethodDescriptionvoid
ClassReader.accept
(ClassVisitor classVisitor, int parsingOptions) Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of thisClassReader
.void
ClassReader.accept
(ClassVisitor classVisitor, Attribute[] attributePrototypes, int parsingOptions) Makes the given visitor visit the JVMS ClassFile structure passed to the constructor of thisClassReader
.private int
ClassReader.readField
(ClassVisitor classVisitor, Context context, int fieldInfoOffset) Reads a JVMS field_info structure and makes the given visitor visit it.private int
ClassReader.readMethod
(ClassVisitor classVisitor, Context context, int methodInfoOffset) Reads a JVMS method_info structure and makes the given visitor visit it.private void
ClassReader.readModuleAttributes
(ClassVisitor classVisitor, Context context, int moduleOffset, int modulePackagesOffset, String moduleMainClass) Reads the Module, ModulePackages and ModuleMainClass attributes and visit them.private int
ClassReader.readRecordComponent
(ClassVisitor classVisitor, Context context, int recordComponentOffset) Reads a record component and visit it.Constructors in org.datanucleus.enhancer.asm with parameters of type ClassVisitorModifierConstructorDescriptionprotected
ClassVisitor
(int api, ClassVisitor classVisitor) Constructs a newClassVisitor
.