getSimpleName abstract method

String getSimpleName()

Gets the simple class name without package or generic information.

Returns:

  • The base class name (e.g., List for List<String>)

Example:

Class.forType<List<String>>().getSimpleName(); // 'List'

Implementation

String getSimpleName();