Interface ClassHelper


public interface ClassHelper
A helper for classes.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> Class<T>
    forName(String className)
    Returns the Class object associated with the class or interface with the given string name.
  • Method Details

    • forName

      default <T> Class<T> forName(String className) throws Exception
      Returns the Class object associated with the class or interface with the given string name.
      Type Parameters:
      T - the type of the class
      Parameters:
      className - the full qualified name of the class
      Returns:
      the object of the class
      Throws:
      Exception - if the class is not found
      See Also: