Class ReflectionUtil


  • public class ReflectionUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.fasterxml.jackson.databind.util.LRUMap<java.lang.Class<?>,​java.lang.reflect.Constructor<?>> constructorCache  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectionUtil()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object newConstructorAndCreateInstance​(com.fasterxml.jackson.databind.DeserializationContext ctxt, java.lang.Class<?> classToInstantiate)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • constructorCache

        private final com.fasterxml.jackson.databind.util.LRUMap<java.lang.Class<?>,​java.lang.reflect.Constructor<?>> constructorCache
    • Constructor Detail

      • ReflectionUtil

        public ReflectionUtil()
    • Method Detail

      • newConstructorAndCreateInstance

        public java.lang.Object newConstructorAndCreateInstance​(com.fasterxml.jackson.databind.DeserializationContext ctxt,
                                                                java.lang.Class<?> classToInstantiate)
                                                         throws com.fasterxml.jackson.core.JacksonException
        Throws:
        com.fasterxml.jackson.core.JacksonException