test_class.file: flink-core/src/test/java/org/apache/flink/util/InstantiationUtilTest.java
test_class.identifier: InstantiationUtilTest
test_class.superclass: extends TestLogger
test_case.body: @Test
  	public void testInstantiationOfStringValue() {
  		StringValue stringValue = InstantiationUtil.instantiate(
  				StringValue.class, null);
  		assertNotNull(stringValue);
  	}
test_case.class_method_signature: InstantiationUtilTest.testInstantiationOfStringValue()
test_case.full_signature: @Test public void testInstantiationOfStringValue()
test_case.identifier: testInstantiationOfStringValue
test_case.invocations: instantiate assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInstantiationOfStringValue()
focal_class.file: flink-core/src/main/java/org/apache/flink/util/InstantiationUtil.java
focal_class.identifier: InstantiationUtil
focal_class.class_method_signature: InstantiationUtil.instantiate(Class<T> clazz, Class<? super T> castTo)
focal_class.full_signature: public static T instantiate(Class<T> clazz, Class<? super T> castTo)
focal_class.identifier: instantiate
focal_class.modifiers: public static
focal_class.parameters: (Class<T> clazz, Class<? super T> castTo)
focal_class.return: T
focal_class.signature: T instantiate(Class<T> clazz, Class<? super T> castTo)
focal_class.class_method_signature: InstantiationUtil.instantiate(Class<T> clazz)
focal_class.full_signature: public static T instantiate(Class<T> clazz)
focal_class.identifier: instantiate
focal_class.modifiers: public static
focal_class.parameters: (Class<T> clazz)
focal_class.return: T
focal_class.signature: T instantiate(Class<T> clazz)
focal_class.class_method_signature: InstantiationUtil.hasPublicNullaryConstructor(Class<?> clazz)
focal_class.full_signature: public static boolean hasPublicNullaryConstructor(Class<?> clazz)
focal_class.identifier: hasPublicNullaryConstructor
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: boolean
focal_class.signature: boolean hasPublicNullaryConstructor(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.isPublic(Class<?> clazz)
focal_class.full_signature: public static boolean isPublic(Class<?> clazz)
focal_class.identifier: isPublic
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: boolean
focal_class.signature: boolean isPublic(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.isProperClass(Class<?> clazz)
focal_class.full_signature: public static boolean isProperClass(Class<?> clazz)
focal_class.identifier: isProperClass
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: boolean
focal_class.signature: boolean isProperClass(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.isNonStaticInnerClass(Class<?> clazz)
focal_class.full_signature: public static boolean isNonStaticInnerClass(Class<?> clazz)
focal_class.identifier: isNonStaticInnerClass
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: boolean
focal_class.signature: boolean isNonStaticInnerClass(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.checkForInstantiation(Class<?> clazz)
focal_class.full_signature: public static void checkForInstantiation(Class<?> clazz)
focal_class.identifier: checkForInstantiation
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: void
focal_class.signature: void checkForInstantiation(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.checkForInstantiationError(Class<?> clazz)
focal_class.full_signature: public static String checkForInstantiationError(Class<?> clazz)
focal_class.identifier: checkForInstantiationError
focal_class.modifiers: public static
focal_class.parameters: (Class<?> clazz)
focal_class.return: String
focal_class.signature: String checkForInstantiationError(Class<?> clazz)
focal_class.class_method_signature: InstantiationUtil.readObjectFromConfig(Configuration config, String key, ClassLoader cl)
focal_class.full_signature: public static T readObjectFromConfig(Configuration config, String key, ClassLoader cl)
focal_class.identifier: readObjectFromConfig
focal_class.modifiers: public static
focal_class.parameters: (Configuration config, String key, ClassLoader cl)
focal_class.return: T
focal_class.signature: T readObjectFromConfig(Configuration config, String key, ClassLoader cl)
focal_class.class_method_signature: InstantiationUtil.writeObjectToConfig(Object o, Configuration config, String key)
focal_class.full_signature: public static void writeObjectToConfig(Object o, Configuration config, String key)
focal_class.identifier: writeObjectToConfig
focal_class.modifiers: public static
focal_class.parameters: (Object o, Configuration config, String key)
focal_class.return: void
focal_class.signature: void writeObjectToConfig(Object o, Configuration config, String key)
focal_class.class_method_signature: InstantiationUtil.serializeToByteArray(TypeSerializer<T> serializer, T record)
focal_class.full_signature: public static byte[] serializeToByteArray(TypeSerializer<T> serializer, T record)
focal_class.identifier: serializeToByteArray
focal_class.modifiers: public static
focal_class.parameters: (TypeSerializer<T> serializer, T record)
focal_class.return: byte[]
focal_class.signature: byte[] serializeToByteArray(TypeSerializer<T> serializer, T record)
focal_class.class_method_signature: InstantiationUtil.deserializeFromByteArray(TypeSerializer<T> serializer, byte[] buf)
focal_class.full_signature: public static T deserializeFromByteArray(TypeSerializer<T> serializer, byte[] buf)
focal_class.identifier: deserializeFromByteArray
focal_class.modifiers: public static
focal_class.parameters: (TypeSerializer<T> serializer, byte[] buf)
focal_class.return: T
focal_class.signature: T deserializeFromByteArray(TypeSerializer<T> serializer, byte[] buf)
focal_class.class_method_signature: InstantiationUtil.deserializeFromByteArray(TypeSerializer<T> serializer, T reuse, byte[] buf)
focal_class.full_signature: public static T deserializeFromByteArray(TypeSerializer<T> serializer, T reuse, byte[] buf)
focal_class.identifier: deserializeFromByteArray
focal_class.modifiers: public static
focal_class.parameters: (TypeSerializer<T> serializer, T reuse, byte[] buf)
focal_class.return: T
focal_class.signature: T deserializeFromByteArray(TypeSerializer<T> serializer, T reuse, byte[] buf)
focal_class.class_method_signature: InstantiationUtil.deserializeObject(byte[] bytes, ClassLoader cl)
focal_class.full_signature: @SuppressWarnings("unchecked") public static T deserializeObject(byte[] bytes, ClassLoader cl)
focal_class.identifier: deserializeObject
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (byte[] bytes, ClassLoader cl)
focal_class.return: T
focal_class.signature: T deserializeObject(byte[] bytes, ClassLoader cl)
focal_class.class_method_signature: InstantiationUtil.serializeObject(Object o)
focal_class.full_signature: public static byte[] serializeObject(Object o)
focal_class.identifier: serializeObject
focal_class.modifiers: public static
focal_class.parameters: (Object o)
focal_class.return: byte[]
focal_class.signature: byte[] serializeObject(Object o)
focal_class.class_method_signature: InstantiationUtil.clone(T obj)
focal_class.full_signature: public static T clone(T obj)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (T obj)
focal_class.return: T
focal_class.signature: T clone(T obj)
focal_class.class_method_signature: InstantiationUtil.clone(T obj, ClassLoader classLoader)
focal_class.full_signature: public static T clone(T obj, ClassLoader classLoader)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (T obj, ClassLoader classLoader)
focal_class.return: T
focal_class.signature: T clone(T obj, ClassLoader classLoader)
focal_class.class_method_signature: InstantiationUtil.InstantiationUtil()
focal_class.full_signature: private  InstantiationUtil()
focal_class.identifier: InstantiationUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  InstantiationUtil()
focal_method.body: public static <T> T instantiate(Class<T> clazz, Class<? super T> castTo) {
  		if (clazz == null) {
  			throw new NullPointerException();
  		}
  		
  		// check if the class is a subclass, if the check is required
  		if (castTo != null && !castTo.isAssignableFrom(clazz)) {
  			throw new RuntimeException("The class '" + clazz.getName() + "' is not a subclass of '" + 
  				castTo.getName() + "' as is required.");
  		}
  		
  		return instantiate(clazz);
  	}
focal_method.class_method_signature: InstantiationUtil.instantiate(Class<T> clazz, Class<? super T> castTo)
focal_method.full_signature: public static T instantiate(Class<T> clazz, Class<? super T> castTo)
focal_method.identifier: instantiate
focal_method.invocations: isAssignableFrom getName getName instantiate
focal_method.modifiers: public static
focal_method.parameters: (Class<T> clazz, Class<? super T> castTo)
focal_method.return: T
focal_method.signature: T instantiate(Class<T> clazz, Class<? super T> castTo)