# declared<C> static method

Class<C> declared<C>(

1. TypeDeclaration declaration,
2. ProtectionDomain domain

)

Creates a Class instance from type declaration metadata.

Parameters:

- `declaration`: The type metadata declaration
- `domain`: Protection domain for security

Returns:

- A new Class instance with resolved metadata

Used internally by the reflection system.

## Implementation

    static Class<C> declared<C>(TypeDeclaration declaration, ProtectionDomain domain) {
      return _Class<C>.declared(declaration, domain);
    }