Interface MapItemReferencePath

All Superinterfaces:
ReferencePath

public sealed interface MapItemReferencePath extends ReferencePath
Represents a reference path to a specific item within a map. This interface is a specialized form of ReferencePath, allowing the ability to reference an entry in a map by its key. It is primarily used for tracking references within serialized or deserialized data structures.
Since:
2.14
Author:
Denis Stepanov
  • Method Summary

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

    • mapType

      Class<?> mapType()
      Returns:
      The map type (implementation type)
    • mapArgument

      io.micronaut.core.type.Argument<?> mapArgument()
      Returns:
      The map argument
    • key

      String key()
      Returns:
      The key
    • getArgument

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