Interface Path.ContainerElementNode

All Superinterfaces:
Path.Node
Enclosing interface:
Path

public static interface Path.ContainerElementNode extends Path.Node
Node representing an element in a generic container such as Optional, List or Map.
Since:
2.0
  • Method Details

    • getContainerClass

      Class<?> getContainerClass()
      Returns:
      the type of the container the node is placed in
    • getTypeArgumentIndex

      Integer getTypeArgumentIndex()
      Returns:
      the index of the type argument affected by the violated constraint