Class LegacyClassExtensions
java.lang.Object
ru.progrm_jarvis.javacommons.classloading.extension.LegacyClassExtensions
Extensions to provide new
Class methods on older Java versions.-
Method Summary
-
Method Details
-
arrayType
Gets the class-object corresponding to an array of elements of the given type.- Type Parameters:
T- type of array elements- Parameters:
elementType- class-object of array elements- Returns:
- array-type of the specified type
- API note
- this method is available on
Classitself since Java 12
-