public int currentTaskNameHash(){
  String name=currentTaskName();
  return name == null ? 0 : name.hashCode();
}

public int currentTaskNameHash ( ) { String name = currentTaskName ( ) ; return name == null ? 0 : name . hashCode ( ) ; }
gets hash of task name executed by current thread .
