Class DescriptorMappings

java.lang.Object
org.neo4j.ogm.metadata.DescriptorMappings

public final class DescriptorMappings extends Object
Utility class helping with descriptor to type mappings, especially providing maps of primitives and their corresponding object wrapper classes ("autoboxers").
Author:
Michael J. Simons
  • Method Details

    • getType

      public static Class<?> getType(String descriptor)
      Return the reified class for the parameter of a parameterised setter or field from the parameter signature. Return null if the class could not be determined
      Parameters:
      descriptor - parameter descriptor
      Returns:
      reified class for the parameter or null