Class PanacheFieldAccessMethodVisitor

java.lang.Object
org.objectweb.asm.MethodVisitor
io.quarkus.panache.common.deployment.PanacheFieldAccessMethodVisitor

public class PanacheFieldAccessMethodVisitor extends org.objectweb.asm.MethodVisitor
  • Field Summary

    Fields inherited from class org.objectweb.asm.MethodVisitor

    api, mv
  • Constructor Summary

    Constructors
    Constructor
    Description
    PanacheFieldAccessMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, String methodOwner, String methodName, String methodDescriptor, MetamodelInfo modelInfo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) EntityModel
    getDeclaringEntityModel(String encounteredClassName, String fieldName)
    Returns the entity model that declares the given field in the hierarchy of the given class.
    void
    visitFieldInsn(int opcode, String fieldOwner, String fieldName, String descriptor)
     

    Methods inherited from class org.objectweb.asm.MethodVisitor

    getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PanacheFieldAccessMethodVisitor

      public PanacheFieldAccessMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, String methodOwner, String methodName, String methodDescriptor, MetamodelInfo modelInfo)
  • Method Details

    • visitFieldInsn

      public void visitFieldInsn(int opcode, String fieldOwner, String fieldName, String descriptor)
      Overrides:
      visitFieldInsn in class org.objectweb.asm.MethodVisitor
    • getDeclaringEntityModel

      EntityModel getDeclaringEntityModel(String encounteredClassName, String fieldName)
      Returns the entity model that declares the given field in the hierarchy of the given class.