org.codehaus.jackson.map.util

## Class RootNameLookup

- java.lang.Object
- - org.codehaus.jackson.map.util.RootNameLookup

-     public class RootNameLookup
      extends Object

  Helper class for caching resolved root names.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected LRUMap<ClassKey,SerializedString>` | `_rootNames` For efficient operation, let's try to minimize number of times we need to introspect root element name to use.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RootNameLookup()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `SerializedString` | `findRootName(Class<?> rootType, MapperConfig<?> config)`
    `SerializedString` | `findRootName(JavaType rootType, MapperConfig<?> config)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _rootNames

          protected LRUMap<ClassKey,SerializedString> _rootNames

      For efficient operation, let's try to minimize number of times we need to introspect root element name to use.

  - ### Constructor Detail

    - #### RootNameLookup

          public RootNameLookup()

  - ### Method Detail

    - #### findRootName

          public SerializedString findRootName(JavaType rootType,
                                      MapperConfig<?> config)

    - #### findRootName

          public SerializedString findRootName(Class<?> rootType,
                                      MapperConfig<?> config)