declared<C> static method
Creates a Class instance from type declaration metadata.
Parameters:
declaration
: The type metadata declarationdomain
: 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);
}