Class Utils
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.common.Utils
-
public class Utils extends java.lang.ObjectSome utility functions.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TgetParentProject(ILanguageElement modelElement, java.lang.Class<T> cls)Returns the parent project.
-
-
-
Method Detail
-
getParentProject
public static <T> T getParentProject(ILanguageElement modelElement, java.lang.Class<T> cls)
Returns the parent project.- Type Parameters:
T- the project type- Parameters:
modelElement- the model (language) elementcls- the class of the project type- Returns:
- the parent project
-
-