Interface CollectionItemReferencePath
- All Superinterfaces:
ReferencePath
Represents a reference path to a specific item within a collection.
This interface is a specialized form of
ReferencePath
, providing the
ability to reference an item within a collection, such as a list or an array.- Since:
- 2.14
- Author:
- Denis Stepanov
-
Method Details
-
collectionType
Class<?> collectionType()- Returns:
- The collection type (implementation type)
-
collectionArgument
io.micronaut.core.type.Argument<?> collectionArgument()- Returns:
- The collection argument
-
index
int index()- Returns:
- The index
-
getArgument
default io.micronaut.core.type.Argument<?> getArgument()- Specified by:
getArgument
in interfaceReferencePath
- Returns:
- The referenced argument
-