Class DataClayMethodVisitor


  • public final class DataClayMethodVisitor
    extends org.objectweb.asm.MethodVisitor
    DataClay Method analyzer.
    • Constructor Detail

      • DataClayMethodVisitor

        public DataClayMethodVisitor​(DataClayClassVisitor thecv,
                                     Operation newoperation,
                                     ClassLoader newclassLoader)
        Constructs a new method visitor
        Parameters:
        thecv - Class visitor. For using parsing utility functions.
        newoperation - Operation in which to add information of methods.
        newclassLoader - Class loader containing analyzed classes.
    • Method Detail

      • visitFieldInsn

        public void visitFieldInsn​(int opcode,
                                   String owner,
                                   String name,
                                   String desc)
        Overrides:
        visitFieldInsn in class org.objectweb.asm.MethodVisitor
      • visitMethodInsn

        public void visitMethodInsn​(int opcode,
                                    String owner,
                                    String name,
                                    String desc)
        Overrides:
        visitMethodInsn in class org.objectweb.asm.MethodVisitor
      • getStubMethodNumber

        public int getStubMethodNumber​(String className,
                                       String opNameAndSignature)
        Get the number of a stub method identified by signature provided and specified in stub information.
        Parameters:
        className - Name of class
        opNameAndSignature - Name and Signature of the operation
        Returns:
        the number of a stub method identified by signature provided and specified in stub information.
      • visitMethodInsn

        public void visitMethodInsn​(int opcode,
                                    String owner,
                                    String name,
                                    String desc,
                                    boolean itf)
        Overrides:
        visitMethodInsn in class org.objectweb.asm.MethodVisitor
      • visitParameter

        public void visitParameter​(String name,
                                   int access)
        Overrides:
        visitParameter in class org.objectweb.asm.MethodVisitor
      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(String desc,
                                                                   boolean visible)
        Overrides:
        visitAnnotation in class org.objectweb.asm.MethodVisitor