Package de.gebit.integrity.ui.utils

## Class ClassLoadingUtil

- java.lang.Object
- - de.gebit.integrity.ui.utils.ClassLoadingUtil

-     public final class ClassLoadingUtil
      extends Object

  A utility class containing methods to dynamically load classes into the eclipse workspace JVM.
  Author:
    Rene Schneider - initial API and implementation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ClassLoadingUtil()` | Creates a new instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | `finalize()` | Finalizes an instance.
    `Class<?>` | `loadClassFromWorkspace​(String aClassName, org.eclipse.jdt.core.IJavaProject aProject)` | Loads a class defined in a specific project into the Eclipse JVM.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ClassLoadingUtil

          public ClassLoadingUtil()

      Creates a new instance.

  - ### Method Detail

    - #### finalize

          protected void finalize()
                           throws Throwable

      Finalizes an instance.
      Overrides:
        `finalize` in class `Object`
      Throws:
        `Throwable`

    - #### loadClassFromWorkspace

          public Class<?> loadClassFromWorkspace​(String aClassName,
                                                 org.eclipse.jdt.core.IJavaProject aProject)
                                          throws ClassNotFoundException

      Loads a class defined in a specific project into the Eclipse JVM.
      Parameters:
        `aClassName` - the fully qualified class name
        `aProject` - the project where the class resides
      Returns:
        the loaded class
      Throws:
        `ClassNotFoundException`