Class StereotypeAPIHelper
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.tools.stereotypeapi.StereotypeAPIHelper
-
public final class StereotypeAPIHelper extends Object
Some utility functions forStereotypeApplication
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.modelversioning.emfprofileapplication.StereotypeApplication
getStereotype(EObject base, String stereotype)
static <ElementType,Base extends EObject>
List<ElementType>getViaStereoTypeFrom(Base base, Class<ElementType> target)
Find all referenced Elements by type and basestatic <ElementType,Base extends EObject>
List<ElementType>getViaStereoTypeFrom(Base base, Class<ElementType> target, String stereotype)
Find all referenced Elements by type and base
-
-
-
Method Detail
-
getViaStereoTypeFrom
public static <ElementType,Base extends EObject> List<ElementType> getViaStereoTypeFrom(Base base, Class<ElementType> target)
Find all referenced Elements by type and base- Parameters:
base
- the base (search location)target
- the target type- Returns:
- a list of Elements found
-
getViaStereoTypeFrom
public static <ElementType,Base extends EObject> List<ElementType> getViaStereoTypeFrom(Base base, Class<ElementType> target, String stereotype)
Find all referenced Elements by type and base- Parameters:
base
- the base (search location)target
- the target typestereotype
- the name of the stereotype- Returns:
- a list of Elements found
-
-