Interface MapItemReferencePath
- All Superinterfaces:
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 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 interfaceReferencePath
- Returns:
- The referenced argument
-