Annotation Interface Property


@Target(PARAMETER) @Retention(RUNTIME) public @interface Property
Marker annotation to provide a property name for an attribute.

Deserializing messages requires using the constructor parameter names. However, debug symbols are not always available (e.g. in an optimized JLink image). Instead, this annotation provides the property names.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the name of the property.
  • Element Details

    • value

      String value
      Returns the name of the property.
      Returns:
      the name of the property.