Class ClassHelper
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.prototype.ClassHelper
The ClassHelper class is used to retrieve classes from a package.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Class<?>[]
getSubclasses
(String packageName, Class<T> type) Gets all subclasses of the specified class in a package.
-
Constructor Details
-
ClassHelper
public ClassHelper()
-
-
Method Details
-
getSubclasses
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 intype
- the class whose subclasses will be searched- Returns:
- an array of classes
-