public static ClassFileVersion of(Class<?> type, ClassFileLocator classFileLocator) throws IOException {
        return of(TypeDescription.ForLoadedType.of(type), classFileLocator);
    }
public static ClassFileVersion of ( Class < ? > type , ClassFileLocator classFileLocator ) throws IOException { return of ( TypeDescription . ForLoadedType . of ( type ) , classFileLocator ) ; }
Extracts a class' class version.

@param type             The type for which to locate a class file version.
@param classFileLocator The class file locator to query for a class file.
@return The type's class file version.
@throws IOException If an error occurs while reading the class file.