className property

String className
final

The name of the class the element belongs to, if any.

This is the empty string if it isn't part of a class.

For example, a method called "doSomething" that is part of the class "MyClass" would have "MyClass" as its className.

Implementation

final String className;