Class DebugStackTop


  • public class DebugStackTop
    extends java.lang.Object
    Example showing how to use an InstructionSequenceReplacer to add logging before a method call which prints the value on the top of the stack i.e. a method parameter.
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugStackTop()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • DebugStackTop

        public DebugStackTop()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException,
                                java.lang.NoSuchMethodException,
                                java.lang.reflect.InvocationTargetException,
                                java.lang.IllegalAccessException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        java.lang.NoSuchMethodException
        java.lang.reflect.InvocationTargetException
        java.lang.IllegalAccessException