# getName abstract method

String getName()

Gets the name of the declared element.

Returns:

- The identifier name as it appears in source code
- For classes: the class name ("MyClass")
- For functions: the function name ("calculate")
- For variables: the variable name ("count")

Note: The exact format may vary by implementation but should always match the source declaration.

## Implementation

    String getName();