Class CachedReturnPlugin$char


  • class CachedReturnPlugin$char
    extends java.lang.Object
    An advice class for caching a char value.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CachedReturnPlugin$char()
      A constructor that prohibits the instantiation of the class.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static char enter​(char cached)
      The enter advice.
      protected static void exit​(char returned, char cached)
      The exit advice.
      • Methods inherited from class java.lang.Object

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

      • CachedReturnPlugin$char

        private CachedReturnPlugin$char()
        A constructor that prohibits the instantiation of the class.
    • Method Detail

      • exit

        @OnMethodExit
        protected static void exit​(@Return(readOnly=false)
                                   char returned,
                                   char cached)
        The exit advice.
        Parameters:
        returned - The value that was returned by the method's execution or 0 if it was not executed.
        cached - The previously cached value or 0 if no previous value exists.