# ClassExtension extension

Extension providing reflection capabilities to all Dart objects.

Adds convenient methods for accessing runtime type information through the JetLeaf reflection system.

{@template class_extension_features}

## Features

- Type-safe class reflection access
- Shortcut getter for common use cases
- Automatic protection domain handling

## Example Usage

    final myObject = SomeClass();

    // Get class metadata
    final classInfo = myObject.getClass();
    print('Object type: ${classInfo.getName()}');

    // Shortcut syntax
    final constructors = myObject.clazz.getConstructors();

{@endtemplate}

on
  - Object

## Methods

getClass([ProtectionDomain? domain, String? package]) → Class

  Available on Object, provided by the ClassExtension extension

  Gets the Class metadata for this object's runtime type.