private static <T> T allocateMemoryForClass(final JBBPFieldStruct root, final Class<T> klazz) {
    try {
      return CLASS_INSTANTIATOR.makeClassInstance(klazz);
    } catch (InstantiationException ex) {
      throw new JBBPMapperException("Can't make an instance of a class", root, klazz, null, ex);
    }
  }
private static < T > T allocateMemoryForClass ( final JBBPFieldStruct root , final Class < T > klazz ) { try { return CLASS_INSTANTIATOR . makeClassInstance ( klazz ) ; } catch ( InstantiationException ex ) { throw new JBBPMapperException ( "Can't make an instance of a class" , root , klazz , null , ex ) ; } }
Makes an instance of a class without call of its constructor, just allocate
memory

@param <T>   a class which instance is needed
@param root  the structure to be mapped, it is needed as info for exception
@param klazz the class which instance is needed
@return an instance of the class without called constructor
@throws JBBPMapperException it will be thrown if it is impossible to make
an instance