Home > Guides > Core Developers Guide > Annotations > Key Annotation

Sets the Key for type conversion.

Usage

The Key annotation must be applied at field or method level.

Parameters

ParameterRequiredDefaultDescription
valuenojava.lang.Object.classThe key property value.

Examples