Class NewArrayCheckAdapter.NewArrayCheckMethodAdapter

java.lang.Object
org.objectweb.asm.MethodVisitor
org.jboss.byteman.agent.adapter.RuleMethodAdapter
org.jboss.byteman.agent.adapter.RuleCheckMethodAdapter
org.jboss.byteman.agent.adapter.NewArrayCheckAdapter.NewArrayCheckMethodAdapter
Enclosing class:
NewArrayCheckAdapter

private class NewArrayCheckAdapter.NewArrayCheckMethodAdapter extends RuleCheckMethodAdapter
a method visitor used to add a rule event trigger call to a method
  • Field Details

    • access

      private int access
    • name

      private String name
    • descriptor

      private String descriptor
    • signature

      private String signature
    • exceptions

      private String[] exceptions
    • visited

      private boolean visited
    • visitedCount

      private int visitedCount
    • matchedBaseName

      String matchedBaseName
  • Constructor Details

    • NewArrayCheckMethodAdapter

      NewArrayCheckMethodAdapter(org.objectweb.asm.MethodVisitor mv, TransformContext transformContext, int access, String name, String descriptor, String signature, String[] exceptions)
  • Method Details

    • visitTypeInsn

      public void visitTypeInsn(int opcode, String type)
      Overrides:
      visitTypeInsn in class org.objectweb.asm.MethodVisitor
    • visitIntInsn

      public void visitIntInsn(int opcode, int operand)
      Overrides:
      visitIntInsn in class org.objectweb.asm.MethodVisitor
    • visitMultiANewArrayInsn

      public void visitMultiANewArrayInsn(String descriptor, int numDimensions)
      Overrides:
      visitMultiANewArrayInsn in class org.objectweb.asm.MethodVisitor
    • matchType

      private boolean matchType(int operand)
    • matchType

      private boolean matchType(String type)
    • getNewTypeParamDescriptor

      public String getNewTypeParamDescriptor()
      Description copied from class: RuleCheckMethodAdapter
      method overridden by AT NEW method check adapter allowing String value for the type name provided in the NEW location spec to be retrieved. this default version should never get invoked
      Overrides:
      getNewTypeParamDescriptor in class RuleCheckMethodAdapter
      Returns:
      String value for