Package groovy.util

Interface ObjectGraphBuilder.ReferenceResolver

All Known Implementing Classes:
ObjectGraphBuilder.DefaultReferenceResolver
Enclosing class:
ObjectGraphBuilder

public static interface ObjectGraphBuilder.ReferenceResolver
Strategy for picking the correct synthetic reference identifier.
  • Method Summary

    Modifier and Type Method Description
    String getReferenceFor​(String nodeName)
    Returns the name of the property that references another node.
  • Method Details

    • getReferenceFor

      String getReferenceFor​(String nodeName)
      Returns the name of the property that references another node.
      Parameters:
      nodeName - the name of the node