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

Sets the Element for type conversion.

Usage

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

Parameters

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

Examples