Simple function that returns class name as a string?

Is there a way to formulate a function within a custom class, say MyClass, that returns the string “MyClass”?

In other words:


package {
      public class MyClass { 
         public function MyClass() {
               . . . 
              trace(className());  // MyClass
          }
           private function className():String {
                var str:String;
                // do something
                return str;
           }
      }
}