java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.prototype.ClassHelper

public class ClassHelper extends Object
The ClassHelper class is used to retrieve classes from a package.
  • Constructor Details

    • ClassHelper

      public ClassHelper()
  • Method Details

    • getSubclasses

      public static <T> Class<?>[] getSubclasses(String packageName, Class<T> type)
      Gets all subclasses of the specified class in a package.
      Type Parameters:
      T - the class type
      Parameters:
      packageName - the name of the package to search in
      type - the class whose subclasses will be searched
      Returns:
      an array of classes