# Class VulkanLWJGLClassChecks

java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLClassChecks

public final class VulkanLWJGLClassChecks extends Object
Class checks.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <T> T`
  `checkInstanceOf(Object object, Class<T> clazz)`
  Check that a given object is of a given class.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### checkInstanceOf

    public static <T> T checkInstanceOf(Object object, Class<T> clazz) throws VulkanIncompatibleClassException
    Check that a given object is of a given class.
    Type Parameters:
      `T` - The type
    Parameters:
      `object` - The object
      `clazz` - The class
    Returns:
      The object
    Throws:
      `VulkanIncompatibleClassException` - On incompatible objects