@Override
  boolean push(TraceMethod traceMethod) {
    boolean success;
    TracingContext currentTracingContext = getCurrentTracingContext();
    if (currentTracingContext != null && !currentTracingContext.isCorrupted()) {
      if (currentTracingContext.getMethodStack().size() >= STACK_SIZE) {
        currentTracingContext.setCorrupted(true);
        throw new ThreadMap.RuntimeException("Stacksize is exceeded.");
      }
      else {
        currentTracingContext.getMethodStack().push(traceMethod);
        success = true;
      }
    }
    else
      success = false;
    
    return success;
  }
@ Override boolean push ( TraceMethod traceMethod ) { boolean success ; TracingContext currentTracingContext = getCurrentTracingContext ( ) ; if ( currentTracingContext != null && ! currentTracingContext . isCorrupted ( ) ) { if ( currentTracingContext . getMethodStack ( ) . size ( ) >= STACK_SIZE ) { currentTracingContext . setCorrupted ( true ) ; throw new ThreadMap . RuntimeException ( "Stacksize is exceeded." ) ; } else { currentTracingContext . getMethodStack ( ) . push ( traceMethod ) ; success = true ; } } else success = false ; return success ; }
Pushs a method onto the stack of the current thread.

@param traceMethod the method to be pushed