Class Watcher


  • public class Watcher
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Watcher()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.StackTraceElement getCaller()
      Get the caller by scanning the stack trace.
      protected static java.lang.String getSignature()
      Get the signature of caller conforming to eclipse error parser.
      static void log()
      log executing class name, method name and line number.
      static void log​(java.lang.String pMessage)
      log a message with executing class name, method name and line number.
      • Methods inherited from class java.lang.Object

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

      • Watcher

        public Watcher()
    • Method Detail

      • log

        public static void log()
        log executing class name, method name and line number.
        Parameters:
        pMessage -
      • log

        public static void log​(java.lang.String pMessage)
        log a message with executing class name, method name and line number.
        Parameters:
        pMessage -
      • getSignature

        protected static java.lang.String getSignature()
        Get the signature of caller conforming to eclipse error parser.
        Returns:
      • getCaller

        protected static java.lang.StackTraceElement getCaller()
        Get the caller by scanning the stack trace.
        Returns: