Interface PropertyReferencePath

All Superinterfaces:
ReferencePath

public sealed interface PropertyReferencePath extends ReferencePath
Represents a reference path to a specific property of a bean type. This interface is a specialized form of ReferencePath, providing the ability to reference a property within a complex object graph.

It is used in serialization and deserialization processes to trace the specific property where an error or modification occurs. This can assist in debugging or error reporting by identifying the exact location within an object structure.

Since:
2.14
Author:
Denis Stepanov
  • Method Summary

    Modifier and Type
    Method
    Description
    default io.micronaut.core.type.Argument<?>
     
    io.micronaut.core.type.Argument<?>
     
     
  • Method Details

    • type

      Class<?> type()
      Returns:
      The type
    • property

      io.micronaut.core.type.Argument<?> property()
      Returns:
      The property
    • getArgument

      default io.micronaut.core.type.Argument<?> getArgument()
      Specified by:
      getArgument in interface ReferencePath
      Returns:
      The referenced argument